refactor: 迁移初始化参数缓存并优化等待界面

This commit is contained in:
cyf
2026-08-27 11:46:06 +08:00
parent 8472004711
commit b33c847b27
16 changed files with 209 additions and 61 deletions
+10
View File
@@ -26,6 +26,7 @@ using Lskj.Business;
using Lskj.Main.Model;
using System.Collections;
using System.Threading.Tasks;
using Lskj.Core;
namespace Lskj.PubModuleDetail
{
@@ -186,6 +187,15 @@ namespace Lskj.PubModuleDetail
// between module cycles.
if (!e.Cancel)
{
if (!string.IsNullOrEmpty(this.mControl.SysModel.FrmCloseStored))
{
string sql = this.mControl.SysModel.FrmCloseStored;
if (this.mControl.SearchObj!=null) sql=this.mControl.SearchObj.ReplaceControlValue(sql);
sql = ReplaceHelper.ReplaceUserInfo(sql);
string result = SqlHelper.ExecuteScalar(sql) + "";
if (!string.IsNullOrEmpty(result)) MessageUtil.Show(result);
}
this.mControl.ReleaseResourcesForDispose();
}
}