From 2535bcaee5edc0168693efb86e1c3ea0bcf04426 Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Mon, 13 Apr 2026 10:01:04 +0800 Subject: [PATCH] 1 --- SGGL/BLL/API/HJGL/APIPreWeldingDailyService.cs | 5 ++--- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SGGL/BLL/API/HJGL/APIPreWeldingDailyService.cs b/SGGL/BLL/API/HJGL/APIPreWeldingDailyService.cs index e55bb2f6..1b3a42ba 100644 --- a/SGGL/BLL/API/HJGL/APIPreWeldingDailyService.cs +++ b/SGGL/BLL/API/HJGL/APIPreWeldingDailyService.cs @@ -461,9 +461,8 @@ namespace BLL weldingDaily.UnitWorkId = joint.UnitWorkId; weldingDaily.UnitId = weldTask?.UnitId; weldingDaily.Tabler = Personid; - weldingDaily.TableDate = Convert.ToDateTime(time).Date; - db.HJGL_WeldingDaily.InsertOnSubmit(weldingDaily); - db.SubmitChanges(); + weldingDaily.TableDate = Convert.ToDateTime(time).Date; + BLL.WeldingDailyService.AddWeldingDaily(weldingDaily); } BLL.HJGL_PipelineComponentjointService.UpdateStateByWeldJointId(WeldJointId, (DateTime)weldingDaily.WeldingDate);//更改预制口实际时间和状态 PipelineService.UpdataDateByWeldJointId(WeldJointId);//更改安装口时间和状态 diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 5971df32..d98a37e8 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -17019,7 +17019,7 @@ - +