From 4ce845ec79f717ac4669ce3e39eaa0cb7323b1ad Mon Sep 17 00:00:00 2001
From: 沈泽 <211959439@qq.com>
Date: 星期二, 12 十月 2021 16:56:28 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/Pay_SingleBalBillController.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/WebAPI/Controllers/Pay_SingleBalBillController.cs b/WebAPI/Controllers/Pay_SingleBalBillController.cs
index 9a209c8..56d9a37 100644
--- a/WebAPI/Controllers/Pay_SingleBalBillController.cs
+++ b/WebAPI/Controllers/Pay_SingleBalBillController.cs
@@ -160,10 +160,10 @@
                 int HYear = 2021;
                 double HPeriod = 1;
                 string HRemark = mainList[0].HRemark;//澶囨敞
-                string HBillSubType = mainList[0].HBillSubType;
+                string HBillSubType = "2205";
                 string HMaker = mainList[0].HMaker;
-                string HExplanation = mainList[0].HExplanation;
-                string HInnerBillNo = mainList[0].HInnerBillNo;
+                string HExplanation =  "0";
+                string HInnerBillNo = "0";
                 long HMaterID = mainList[0].HMaterID;//浜у搧ID
                 long HGroupID = mainList[0].HGroupID;
                 long HDeptID = mainList[0].HDeptID;
@@ -176,11 +176,11 @@
                 //涓昏〃
                 oCN.RunProc(" Insert Into Pay_SingleBalBillMain " + 
                     "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + 
-                    ",HYear,HPeriod,HRemark,HMaker" + 
-                    ",HGroupID,HDeptID,HEmpID,HPayType,HExplanation,HInnerBillNo" + ")" +
-                    "values('" + HBillType + "'" + HBillSubType + "," + HInterID + ",'" + HBillNo + "','" + HDate +
-                    "',"+ HDeptID + "," + HYear + "," + HPeriod + ",'" + HRemark + "','" + HMaker + "'," + HGroupID + 
-                    "," + HEmpID + ","+ HPayType +",'" + HInnerBillNo + "'" + HExplanation + 
+                    ",HYear,HPeriod,HRemark,HMaker" +
+                    ",HGroupID,HDeptID,HEmpID,HPayType,HInnerBillNo,HExplanation" + ")" +
+                    "values('" + HBillType + "','" + HBillSubType + "'," + HInterID + ",'" + HBillNo + "','" + HDate +
+                    "','" + HYear + "'," + HPeriod + ",'" + HRemark + "','" + HMaker + "'," + HGroupID + ", " + HDeptID + 
+                    "," + HEmpID + ",'"+ HPayType +"','" + HInnerBillNo + "'," + HExplanation + 
                    ") ");
 
                 //淇濆瓨瀛愯〃

--
Gitblit v1.9.1