2023-08-10
This commit is contained in:
parent
02fcf5be10
commit
3809b80091
|
@ -0,0 +1 @@
|
|||
alter table sys_const alter Column ConstValue nvarchar(200)
|
|
@ -15,10 +15,10 @@ namespace FineUIPro.Web.AttachFile
|
|||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditAppid" select x).ToList().FirstOrDefault();
|
||||
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditAppid" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
return sysSet.ConstValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -30,10 +30,10 @@ namespace FineUIPro.Web.AttachFile
|
|||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditAppkey" select x).ToList().FirstOrDefault();
|
||||
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditAppkey" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
return sysSet.ConstValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -45,10 +45,10 @@ namespace FineUIPro.Web.AttachFile
|
|||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditCallBackurl" select x).ToList().FirstOrDefault();
|
||||
var sysSet = (from x in Funs.DB.Sys_Const where x.ConstText == "OnlineEditCallBackurl" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
return sysSet.ConstValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1017,6 +1017,7 @@ namespace FineUIPro.Web.SysManage
|
|||
sysSey1.ConstValue = this.txtAppid.Text.Trim();
|
||||
}
|
||||
sysSey1.ConstText = "OnlineEditAppid";
|
||||
sysSey1.ID = SQLHelper.GetNewID();
|
||||
Funs.DB.Sys_Const.InsertOnSubmit(sysSey1);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
@ -1037,6 +1038,7 @@ namespace FineUIPro.Web.SysManage
|
|||
sysSey2.ConstValue = this.txtAppkey.Text.Trim();
|
||||
}
|
||||
sysSey2.ConstText = "OnlineEditAppkey";
|
||||
sysSey2.ID = SQLHelper.GetNewID();
|
||||
Funs.DB.Sys_Const.InsertOnSubmit(sysSey2);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
@ -1057,6 +1059,7 @@ namespace FineUIPro.Web.SysManage
|
|||
sysSet3.ConstValue = this.txtCallBackapiurl.Text.Trim();
|
||||
}
|
||||
sysSet3.ConstText = "OnlineEditCallBackurl";
|
||||
sysSet3.ID = SQLHelper.GetNewID();
|
||||
Funs.DB.Sys_Const.InsertOnSubmit(sysSet3);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue