feat(control): add extended return search for tables and forms

This commit is contained in:
2026-07-29 15:57:29 +08:00
parent b893e8d8e4
commit 1bbe9c9a4c
13 changed files with 2818 additions and 645 deletions
+4
View File
@@ -461,6 +461,8 @@ namespace Lskj.Business.Impl
sumCond += ",a.ColumnAnnotation ";
if (dataTable.Columns.Contains("TitleColor"))
sumCond += ",a.TitleColor ";
if (dataTable.Columns.Contains("resultfields"))
sumCond += ",a.resultfields ";
string columsSql = string.Format(@"SELECT DISTINCT
isnull(CASE WHEN ISNULL(b.userList,'')='' AND ISNULL(a.PrivilegeView,'')<>'' OR isnull(isVisible,0)=1 THEN 0 ELSE width END,0) width,
@@ -559,6 +561,8 @@ namespace Lskj.Business.Impl
sumCond += ",a.ColumnAnnotation ";
if (dataTable.Columns.Contains("TitleColor"))
sumCond += ",a.TitleColor ";
if (dataTable.Columns.Contains("resultfields"))
sumCond += ",a.resultfields ";
string columsSql = string.Format(@"SELECT DISTINCT
isnull(CASE WHEN ISNULL(b.userList,'')='' AND ISNULL(a.PrivilegeView,'')<>'' OR isnull(isVisible,0)=1 THEN 0 ELSE width END,0) width,