From 69f1a439a691aaf5cd142098d833efd666953387 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 25 八月 2025 11:46:27 +0800
Subject: [PATCH] 1
---
WebAPI/DLL/ClsKf_MateOutBill.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/WebAPI/DLL/ClsKf_MateOutBill.cs b/WebAPI/DLL/ClsKf_MateOutBill.cs
index 85dffab..9b07b66 100644
--- a/WebAPI/DLL/ClsKf_MateOutBill.cs
+++ b/WebAPI/DLL/ClsKf_MateOutBill.cs
@@ -236,12 +236,13 @@
"(HBillType,HBillSubType,HInterID,HBillNo,HDate" +
",HYear,HPeriod,HRemark,HMaker,HMakeDate" +
",HSupID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
- ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag" +
+ ",HKeeperID,HDeptID,HExplanation,HInnerBillNo,HRedBlueFlag, HMainSourceBillType" +
") " +
" values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" +
", " + omodel.HSupID.ToString() + "," + omodel.HWHID.ToString() + "," + omodel.HSCWHID.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HSecManagerID.ToString() +
", " + omodel.HKeeperID.ToString() + "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + DBUtility.ClsPub.BoolToString(omodel.HRedBlueFlag) +
+ ",'" + omodel.HMainSourceBillType.ToString() + "'" +
") ";
@@ -266,7 +267,7 @@
",'" + omodel.HRemark +
"'," + omodel.HProcExchInterID +
",'" + omodel.HProcExchBillNo +
- "','" + "3772" +
+ "','" + (string.IsNullOrEmpty(omodel.HMainSourceBillType) == true ? "3772" : omodel.HMainSourceBillType) +
"','" + DBUtility.ClsPub.CurUserName +
"',getdate()" +
"," + omodel.HSupID.ToString() +
--
Gitblit v1.9.1