修改获取菜单表单信息接口 新增下拉多选字段返回

master
xiaochanghai 1 year ago
parent ebee35ce26
commit 081cc0ab0f
  1. 3
      Tiobon.Core.Services/BASE/BaseServices.cs

@ -204,7 +204,7 @@ public class BaseServices<TEntity, TEntityDto, TInsertDto, TEditDto> : IBaseServ
dataSource,
defaultHidden,
isPrimaryKey,
isSingleColumn
isSingleColumn,multipleSelect
FROM Ghrs_PageSettingEdit
WHERE IsEnable = 1
AND pageNo = '{body.menuName}'
@ -226,6 +226,7 @@ public class BaseServices<TEntity, TEntityDto, TInsertDto, TEditDto> : IBaseServ
new JProperty("defaultHidden", dt.Rows[i]["defaultHidden"].ToString()),
new JProperty("isPrimaryKey", !string.IsNullOrWhiteSpace(dt.Rows[i]["isPrimaryKey"].ToString())? Convert.ToBoolean(dt.Rows[i]["isPrimaryKey"]):null),
new JProperty("isSingleColumn",!string.IsNullOrWhiteSpace(dt.Rows[i]["isSingleColumn"].ToString())? Convert.ToInt32(dt.Rows[i]["isSingleColumn"]):null),
new JProperty("multipleSelect",!string.IsNullOrWhiteSpace(dt.Rows[i]["multipleSelect"].ToString())? Convert.ToBoolean(dt.Rows[i]["multipleSelect"]):null),
];
tableColumn.Add(item);
}

Loading…
Cancel
Save