|
|
|
@ -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); |
|
|
|
|
} |
|
|
|
|