mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 18:34:44 +08:00
fix #I85BNJ 打印模板左侧的拖动按钮优化
This commit is contained in:
@@ -46,7 +46,7 @@ namespace OpenAuth.App.Request
|
||||
/// <summary>
|
||||
///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源
|
||||
/// </summary>
|
||||
public string CloumnView { get; set; }
|
||||
public string ColumnView { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///打印方案内容;打印方案JSON对象
|
||||
|
||||
@@ -92,6 +92,7 @@ namespace OpenAuth.App
|
||||
Name = obj.Name,
|
||||
SourceSql = obj.SourceSql,
|
||||
PlanContent = obj.PlanContent,
|
||||
ColumnView = obj.ColumnView,
|
||||
InParamColumn = obj.InParamColumn,
|
||||
GroupBy = obj.GroupBy
|
||||
},u => u.Id == obj.Id);
|
||||
@@ -100,5 +101,15 @@ namespace OpenAuth.App
|
||||
public SysPrinterPlanApp(ISqlSugarClient client, IAuth auth) : base(client, auth)
|
||||
{
|
||||
}
|
||||
|
||||
public List<DbTableInfo> GetTables()
|
||||
{
|
||||
return SugarClient.DbMaintenance.GetTableInfoList();
|
||||
}
|
||||
|
||||
public List<DbColumnInfo> GetColumns(string tableViewName)
|
||||
{
|
||||
return SugarClient.DbMaintenance.GetColumnInfosByTableName(tableViewName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user