fix(control): load result fields for extended types

This commit is contained in:
2026-07-30 12:03:24 +08:00
parent 4fbe8324fc
commit b9a3dd3b86
@@ -1305,7 +1305,7 @@ namespace Lskj.Business.Impl
/// <summary> /// <summary>
/// p_getControlLocation 的旧版本不返回 resultfields。 /// p_getControlLocation 的旧版本不返回 resultfields。
/// 仅当窗体包含 180/181 扩展返回控件时按模块补取,普通窗体不增加查询。 /// 仅当窗体包含 173/174 扩展返回控件时按模块补取,普通窗体不增加查询。
/// </summary> /// </summary>
private static void AppendExtendedReturnResultFields(DataTable table, string menuCode) private static void AppendExtendedReturnResultFields(DataTable table, string menuCode)
{ {
@@ -1321,7 +1321,7 @@ namespace Lskj.Business.Impl
{ {
int fieldType; int fieldType;
if (!int.TryParse(row["fieldTypeId"] + "", out fieldType) || if (!int.TryParse(row["fieldTypeId"] + "", out fieldType) ||
(fieldType != 180 && fieldType != 181)) (fieldType != 173 && fieldType != 174))
{ {
continue; continue;
} }