From 25750ab29ce4e243f4e4e17a796167f3a0f0697b Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周一, 05 5月 2025 16:33:49 +0800 Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo --- Weben_CMS专用代码生成器/Code/Templete/Entity/InputQueryModel模板.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Entity/InputQueryModel\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Entity/InputQueryModel\346\250\241\346\235\277.txt" new file mode 100644 index 0000000..15b20c5 --- /dev/null +++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Entity/InputQueryModel\346\250\241\346\235\277.txt" @@ -0,0 +1,47 @@ +using CmsQueryExtensions.Extension; +using Volo.Abp.Application.Dtos; + +namespace CMS.Plugin.$NameSpacePath$.Application.Contracts.Dtos.$EntityName$; + +/// <summary> +/// $ChinaComment$查询参数 +/// </summary> +public class Get$EntityName$Input : ExtensiblePagedAndSortedResultRequestDto +{ + + #region 关键字查询 + + /// <summary> + /// 关键字模糊查询(注意是小写!) + /// </summary> + public string searchVal { get; set; } + + /// <summary> + /// 通用查询配置 (1:模糊查询 , 2:精准查询)(注意是小写!) + /// </summary> + public SearchFilterModeEnum searchVal_FilterMode { get; set; } = SearchFilterModeEnum.模糊查询; + + /// <summary> + /// 子搜索组件传递的通用查询配置的属性名(注意是小写!) + /// </summary> + [NoAutoQuery] + public string str_searchFormInputAttrs { get; set; } + /// <summary> + /// 子搜索组件传递的通用查询配置的属性名(注意是小写!) + /// </summary> + public List<string> searchFormInputAttrs + { + get + { + if (!string.IsNullOrEmpty(str_searchFormInputAttrs)) + { + return str_searchFormInputAttrs.Split(',').ToList(); + } + return new List<string>(); + } + } + + #endregion + + $QueryAttributes$ +} \ No newline at end of file -- Gitblit v1.9.3