refactor: 迁移初始化参数缓存并优化等待界面
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user