From a14da5b3fd13ceffada702a740f9287c7bb5afb4 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Mon, 7 Jul 2025 18:53:49 +0800 Subject: [PATCH] 1 --- HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +- HJGL_DS/FineUIPro.Web/Global.asax.cs | 6 ++++-- HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user index bf54086..8aa7c11 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -2,7 +2,7 @@ true - Debug|Any CPU + Release|Any CPU diff --git a/HJGL_DS/FineUIPro.Web/Global.asax.cs b/HJGL_DS/FineUIPro.Web/Global.asax.cs index dbe9beb..9d6b238 100644 --- a/HJGL_DS/FineUIPro.Web/Global.asax.cs +++ b/HJGL_DS/FineUIPro.Web/Global.asax.cs @@ -658,8 +658,10 @@ } HotProessTrustId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrust)); newHotProessTrust.HotProessTrustId = HotProessTrustId; - newHotProessTrust.TrustType = "1"; //正常口 - trusts.Add(newHotProessTrust); + newHotProessTrust.TrustType = "1"; //正常口 + db.HJGL_CH_HotProessTrust.InsertOnSubmit(newHotProessTrust); + db.SubmitChanges(); + //trusts.Add(newHotProessTrust); var joints = allJoints.Where(x => x.ISO_ID == item.ISO_ID); foreach (var joint in joints) { diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user index a48b337..28be9c4 100644 --- a/HJGL_DS/WebAPI/WebAPI.csproj.user +++ b/HJGL_DS/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU FolderProfile true