From c34e85eda515636993b37a752b52c0f43ae6e17b Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期四, 09 一月 2025 09:17:18 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 WebAPI/Controllers/BaseSet/Gy_ICBomBillController.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/BaseSet/Gy_ICBomBillController.cs b/WebAPI/Controllers/BaseSet/Gy_ICBomBillController.cs
index a70b248..8089cf5 100644
--- a/WebAPI/Controllers/BaseSet/Gy_ICBomBillController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_ICBomBillController.cs
@@ -35,6 +35,7 @@
                 oCN.RunProc(sql);
                 sql = $"delete Gy_ICBomBillSub where HinterID = {mainList[0].HInterID}";
                 oCN.RunProc(sql);
+                mainList[0].HBillNo =  DBUtility.ClsPub.CreateBillCode("3302", ref DBUtility.ClsPub.sExeReturnInfo,true);
                 oCN.RunProc("Insert Into Gy_ICBomBillMain   " +
                 "(HBillType,HInterID,HBillNo,HDate" +
                 ",HYear,HPeriod,HRemark,HMaker,HMakeDate,HMaterTypeID,HStatus" +

--
Gitblit v1.9.1