diff --git a/OpenAuth.App/SysPrinterPlanApp/Request/AddOrUpdateSysPrinterPlanReq.cs b/OpenAuth.App/SysPrinterPlanApp/Request/AddOrUpdateSysPrinterPlanReq.cs index 061e3e2c..37127a47 100644 --- a/OpenAuth.App/SysPrinterPlanApp/Request/AddOrUpdateSysPrinterPlanReq.cs +++ b/OpenAuth.App/SysPrinterPlanApp/Request/AddOrUpdateSysPrinterPlanReq.cs @@ -37,6 +37,11 @@ namespace OpenAuth.App.Request ///数据源;打印方案对应的数据来源SQL /// public string SourceSql { get; set; } + + /// + ///入口参数字段;入库参数字段数组,通过,分隔 + /// + public string InParamColumn { get; set; } /// ///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源 diff --git a/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs b/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs index 59588cf0..ff9de9a3 100644 --- a/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs +++ b/OpenAuth.App/SysPrinterPlanApp/SysPrinterPlanApp.cs @@ -92,6 +92,7 @@ namespace OpenAuth.App Name = obj.Name, SourceSql = obj.SourceSql, PlanContent = obj.PlanContent, + InParamColumn = obj.InParamColumn, GroupBy = obj.GroupBy },u => u.Id == obj.Id); } diff --git a/OpenAuth.Repository/Domain/SysPrinterPlan.cs b/OpenAuth.Repository/Domain/SysPrinterPlan.cs index 122896f7..db9648c3 100644 --- a/OpenAuth.Repository/Domain/SysPrinterPlan.cs +++ b/OpenAuth.Repository/Domain/SysPrinterPlan.cs @@ -26,6 +26,7 @@ namespace OpenAuth.Repository.Domain this.SourceSql = ""; this.CloumnView = ""; this.PlanContent = ""; + this.InParamColumn = ""; this.GroupBy = ""; this.CreateTime = DateTime.Now; this.Disable = false; @@ -55,6 +56,12 @@ namespace OpenAuth.Repository.Domain [Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")] public string CloumnView { get; set; } + /// + ///入口参数字段;入库参数字段数组,通过,分隔 + /// + [Description("入口参数字段;入库参数字段数组,通过,分隔")] + public string InParamColumn { get; set; } + /// ///分组字段,通常用于主从表结构打印时 ///