update 增加了房屋安全的幕墙和面砖表单,未匹配字段

This commit is contained in:
2021-05-18 12:07:32 +08:00
parent ba649b9257
commit 5019f78817
43 changed files with 3613 additions and 316 deletions

View File

@@ -23,12 +23,12 @@ namespace Ewide.Core.Extension
var defaultField = hasSort ? "Sort" : (hasId ? "Id" : "");
// 约定默认每张表都有Id排序
var orderStr = string.IsNullOrEmpty(defaultField) ? "" : defaultField + (descSort ? " Desc" : " Asc");
var orderStr = string.IsNullOrEmpty(defaultField) ? "" : defaultField + (descSort ? " Asc" : " Desc");
// 排序是否可用-排序字段和排序顺序都为非空才启用排序
if (!string.IsNullOrEmpty(pageInput.SortField) && !string.IsNullOrEmpty(pageInput.SortOrder))
{
orderStr = $"{pageInput.SortField} {(pageInput.SortOrder == pageInput.DescStr ? "Desc" : "Asc")}";
orderStr = $"{pageInput.SortField} {(pageInput.SortOrder == pageInput.DescStr ? "Asc" : "Desc")}";
}
return orderStr;
}