增加分组

This commit is contained in:
wintel
2023-09-20 22:23:35 +08:00
parent 396525b266
commit b1400d8f89
3 changed files with 13 additions and 2 deletions

View File

@@ -58,6 +58,9 @@ namespace OpenAuth.App.Request
/// </summary> /// </summary>
public bool Disable { get; set; } public bool Disable { get; set; }
/// <summary>
/// 分组字段,通常用于主从表结构打印时
/// </summary>
public string GroupBy { get; set; }
} }
} }

View File

@@ -91,7 +91,8 @@ namespace OpenAuth.App
{ {
Name = obj.Name, Name = obj.Name,
SourceSql = obj.SourceSql, SourceSql = obj.SourceSql,
PlanContent = obj.PlanContent PlanContent = obj.PlanContent,
GroupBy = obj.GroupBy
},u => u.Id == obj.Id); },u => u.Id == obj.Id);
} }

View File

@@ -26,6 +26,7 @@ namespace OpenAuth.Repository.Domain
this.SourceSql = ""; this.SourceSql = "";
this.CloumnView = ""; this.CloumnView = "";
this.PlanContent = ""; this.PlanContent = "";
this.GroupBy = "";
this.CreateTime = DateTime.Now; this.CreateTime = DateTime.Now;
this.Disable = false; this.Disable = false;
} }
@@ -54,6 +55,12 @@ namespace OpenAuth.Repository.Domain
[Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")] [Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")]
public string CloumnView { get; set; } public string CloumnView { get; set; }
/// <summary>
///分组字段,通常用于主从表结构打印时
/// </summary>
[Description("分组字段,通常用于主从表结构打印时")]
public string GroupBy { get; set; }
/// <summary> /// <summary>
///打印方案内容;打印方案JSON对象 ///打印方案内容;打印方案JSON对象
/// </summary> /// </summary>