From 91466d2cdaf6da07ba28274f5f46d52daf86c049 Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期一, 24 七月 2023 08:56:42 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs index ad13366..7f0a9ba 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs @@ -67,8 +67,8 @@ int HBillStatus = 0; string HMaker = user;//鍒跺崟浜� string HMouldNum = list[0].HMouldNum;//妯$┐鍙� - int HYear = 2021; - double HPeriod = 1; + int HYear = DateTime.Now.Year; + double HPeriod = DateTime.Now.Month; string HRemark = list[0].HRemark;//澶囨敞 string HSourceName = list[0].HSourceName;//鐢熶骇璧勬簮鍚嶇О double HPieceQty = list[0].HPieceQty;//杩涚珯PCS鏁� @@ -124,6 +124,7 @@ long HQCCheckID = list[0].HQCCheckID;//妫�楠屽憳ID long HPRDOrgID = list[0].HPRDOrgID;//缁勭粐ID double HmaterOutqty = list[0].HmaterOutqty;//鐧藉澂鍙戝竷 + double HProcPriceRate = list[0].HProcPriceRate;//宸ヤ环绯绘暟 LogService.Write($"1.瀛楁璧嬪�硷紝鐢ㄦ椂" + sw.Elapsed ); @@ -328,7 +329,7 @@ ",HSupID,HQty,HPrice,HMoney,HBadCount,HCenterID,HProcNo,HOrderProcNO,HSourceNameList" + ",HMainSourceInterID,HMainSourceBillNo,HMainSourceBillType,HLastSubProc" + ",HEmpID2,HEmpID3,HEmpID4,HEmpID5,HDSQty,HChongQty,HPriceRate,HWorkTimes,HQCCheckID,HMainInterID,HPRDOrgID" + - ",HmaterOutqty" + + ",HmaterOutqty,HProcPriceRate" + ") " + " values('" + BillType + "','" + HBillSubType + "'," + HInterID + ",'" + HBillNo + "'," + HBillStatus + ",getdate(),'" + HMaker + "',getdate(),'" + HMouldNum + "'" + "," + HYear + "," + HPeriod + ",'" + HRemark + "','" + HSourceName + "'," + HPieceQty + "," + HWasterQty + "," + HPlanPieceQty + "," + HBadPNL + @@ -338,7 +339,7 @@ "," + HSupID + "," + HQty + "," + HPrice + "," + HMoney + "," + HBadCount + "," + HCenterID + "," + HProcNo + ",'" + HOrderProcNO + "'" + ",'" + HSourceNameList + "'" + "," + HMainSourceInterID + ",'" + HMainSourceBillNo + "','" + HMainSourceBillType + "'," + Convert.ToString(HLastSubProc ? 1 : 0) + "," + HEmpID2 + "," + HEmpID3 + "," + HEmpID4 + "," + HEmpID5 + "," + HDSQty + "," + HChongQty + "," + HPriceRate + "," + HWorkTimes + "," + HQCCheckID + "," + HMainInterID + "," + HPRDOrgID + - ","+ HmaterOutqty + ") "); + ","+ HmaterOutqty + "," + HProcPriceRate + ") "); LogService.Write($"4.鏂板缁撴潫锛岀敤鏃�" + sw.Elapsed); LogService.Write("鐢ㄦ埛:" + user + ",鏃ユ湡:" + DateTime.Now + ",鏂板宸ュ簭鍑虹珯鍗曟嵁:" + HBillNo); -- Gitblit v1.9.1