From 93b9f26c4581fa9d39f064a453fc21a67d582152 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期二, 28 六月 2022 08:46:12 +0800
Subject: [PATCH] 合并

---
 WebAPI/Controllers/基础资料/基础资料/Gy_StockCheckItemBillController.cs |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemBillController.cs"
index 50973d3..33509ad 100644
--- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemBillController.cs"
+++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemBillController.cs"
@@ -406,6 +406,7 @@
                 {
                     var HBarCode = item.HBarCode;
                     var HItemID = item.HItemID;
+                    string HDate = item.HMakeDate;
                     string HBillNo = "";
                     Int64 HInterID = 0;//鏄剧ず鐨勫瓧娈�
                     DataSet ds1 = new DataSet();
@@ -422,7 +423,7 @@
                     ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                     ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                     ") " +
-                    " values('3814','3814'," + HInterID + ",'" + HBillNo + "',getdate()" +
+                    " values('3814','3814'," + HInterID + ",'" + HBillNo + "','" + HDate+"'"+
                     ", '" + user + "',getdate()" +
                     ", " + dr["HSupID"].ToString() + ", 1," + dr["HNowSupID"].ToString() + ",0,0,0,0" +
                     ", 0," + dr["HDeptID"].ToString() + ",' ',0" +
@@ -490,6 +491,7 @@
                     var HBarCode = item.HBarCode;
                     var HItemID = item.HItemID;
                     string HBillNo = "";
+                    string HDate = item.HMakeDate;
                     Int64 HInterID = 0;//鏄剧ず鐨勫瓧娈�
                     DataSet ds1 = new DataSet();
                     ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain");
@@ -504,7 +506,7 @@
                     ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                     ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                     ") " +
-                    " values('3827','3827'," + HInterID + ",'" + HBillNo + "',getdate()" +
+                    " values('3827','3827'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                     ", '" + user + "',getdate()" +
                     ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + ",isnull('" + dr["HNowSupID"].ToString() + "',0),0,0,0,0" +
                     ", 0," + dr["HDeptID"].ToString() + ",'',0" +
@@ -572,6 +574,7 @@
                     var HBarCode = item.HBarCode;
                     var HItemID = item.HItemID;
                     string HBillNo = "";
+                    string HDate = item.HMakeDate;
                     Int64 HInterID = 0;//鏄剧ず鐨勫瓧娈�
                     DataSet ds1 = new DataSet();
                     ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain");
@@ -587,7 +590,7 @@
                     ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                     ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                     ") " +
-                    " values('3832','3832'," + HInterID + ",'" + HBillNo + "',getdate()" +
+                    " values('3832','3832'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                     ", '" + user + "',getdate()" +
                     ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" +
                     ", 0," + dr["HDeptID"].ToString() + ",' ',0" +
@@ -653,6 +656,7 @@
                     var HBarCode = item.HBarCode;
                     var HItemID = item.HItemID;
                     string HBillNo = "";
+                    string HDate = item.HMakeDate;
                     Int64 HInterID = 0;//鏄剧ず鐨勫瓧娈�
                     DataSet ds1 = new DataSet();
                     ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain");
@@ -668,7 +672,7 @@
                     ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                     ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                     ") " +
-                    " values('3802','3802'," + HInterID + ",'" + HBillNo + "',getdate()" +
+                    " values('3802','3802'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                     ", '" + user + "',getdate()" +
                     ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" +
                     ", 0," + dr["HDeptID"].ToString() + ",' ',0" +
@@ -733,6 +737,7 @@
                     var HBarCode = item.HBarCode;
                     var HItemID = item.HItemID;
                     string HBillNo = "";
+                    string HDate = item.HMakeDate;
                     Int64 HInterID = 0;//鏄剧ず鐨勫瓧娈�
                     DataSet ds1 = new DataSet();
                     ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain");
@@ -748,7 +753,7 @@
                     ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" +
                     ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" +
                     ") " +
-                    " values('3803','3803'," + HInterID + ",'" + HBillNo + "',getdate()" +
+                    " values('3803','3803'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" +
                     ", '" + user + "',getdate()" +
                     ", " + dr["HNowSupID"].ToString() + "," + dr["HNowSupTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" +
                     ", 0," + dr["HDeptID"].ToString() + ",' ',0" +

--
Gitblit v1.9.1