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
+13
View File
@@ -25,6 +25,7 @@ using Lskj.Main.Model;
using Lskj.Business;
using System.Collections;
using System.Threading.Tasks;
using Lskj.Core;
namespace Lskj.PubModule
{
@@ -173,6 +174,18 @@ namespace Lskj.PubModule
}
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);
}
}
}
#region
@@ -110,6 +110,10 @@
<Project>{447CDC40-659F-4CCA-9ED6-8E818B4CF8BF}</Project>
<Name>Lskj.Control</Name>
</ProjectReference>
<ProjectReference Include="..\Lskj.Core\Lskj.Core.csproj">
<Project>{2A1BE6AC-1077-491B-A754-C5822FE8121E}</Project>
<Name>Lskj.Core</Name>
</ProjectReference>
<ProjectReference Include="..\Lskj.Data\Lskj.Data.csproj">
<Project>{308B9B18-9BE2-495C-9C64-EED81D567813}</Project>
<Name>Lskj.Data</Name>