|
|
@ -524,7 +524,9 @@ public class Ghrh_YearHumanSettingsServices : BaseServices<Ghrh_YearHumanSetting |
|
|
|
QueryBody filter = new QueryBody(); |
|
|
|
QueryBody filter = new QueryBody(); |
|
|
|
filter.pageNum = 1; |
|
|
|
filter.pageNum = 1; |
|
|
|
filter.pageSize = 1000000; |
|
|
|
filter.pageSize = 1000000; |
|
|
|
|
|
|
|
filter.jsonParam = body.jsonParam; |
|
|
|
filter.langId = body.langId; |
|
|
|
filter.langId = body.langId; |
|
|
|
|
|
|
|
filter.menuName = body.menuName; |
|
|
|
|
|
|
|
|
|
|
|
var condition = "1=1"; |
|
|
|
var condition = "1=1"; |
|
|
|
if (body.exportSet.SelectRowKeys != null && body.exportSet.SelectRowKeys.Any()) |
|
|
|
if (body.exportSet.SelectRowKeys != null && body.exportSet.SelectRowKeys.Any()) |
|
|
@ -532,14 +534,7 @@ public class Ghrh_YearHumanSettingsServices : BaseServices<Ghrh_YearHumanSetting |
|
|
|
|
|
|
|
|
|
|
|
var data = await QueryFilterPage(filter, condition, true); |
|
|
|
var data = await QueryFilterPage(filter, condition, true); |
|
|
|
|
|
|
|
|
|
|
|
string sql = $@"SELECT *
|
|
|
|
var columns = data.result.JM_TableColumnT1.TableColumn; |
|
|
|
FROM Ghrs_PageSettingQuery |
|
|
|
|
|
|
|
WHERE IsEnable = 1 |
|
|
|
|
|
|
|
AND PageNo = '{body.menuName}' |
|
|
|
|
|
|
|
AND (defaultHidden = 'false' OR defaultHidden is null) |
|
|
|
|
|
|
|
ORDER BY SortNo ASC";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var columns = DbAccess.QueryList<QueryExportColumn>(sql); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var fieldDescs = new Dictionary<string, string>(); |
|
|
|
var fieldDescs = new Dictionary<string, string>(); |
|
|
|
if (body.exportSet.ExFields.Any()) |
|
|
|
if (body.exportSet.ExFields.Any()) |
|
|
|