From c86d3069d9cc1047c8334acecb324b4f9013de35 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期四, 20 十月 2022 22:51:32 +0800
Subject: [PATCH] 修改了看板  生产流转卡同步JSON

---
 WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs
index 5993416..1441cb9 100644
--- a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs
+++ b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs
@@ -489,7 +489,7 @@
                     oBill.omodel.HMainSourceInterID = list[i].HMainSourceInterID;
                     oBill.omodel.HMainSourceBillNo = list[i].HMainSourceBillNo;
                     oBill.omodel.HMainSourceBillType = list[i].HMainSourceBillType;
-                    oBill.omodel.HLastSubProc = list[i].HLastSubProc;
+                    oBill.omodel.HLastSubProc = true;
                     oBill.omodel.HEmpID2 = list[i].HEmpID2;
                     oBill.omodel.HEmpID3 = list[i].HEmpID3;
                     oBill.omodel.HEmpID4 = list[i].HEmpID4;
@@ -499,6 +499,7 @@
                     oBill.omodel.HPriceRate = list[i].HPriceRate;
                     oBill.omodel.HWorkTimes = list[i].HWorkTimes;
                     oBill.omodel.HQCCheckID = list[i].HQCCheckID;
+                    oBill.omodel.HMaker = msg4;
 
                     //string HBillSubType = "3791";
                     //long HInterID = list[0].HInterID;//閫掑叆type寰楀埌鐨勫崟鎹甀D
@@ -567,6 +568,7 @@
                     bool bResult;
                     // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                     bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
+                    oCN.RunProc($"update Sc_StationOutBillMain set HMaker='{msg4}' where HInterID={oBill.omodel.HInterID}");
                     i++;
                     //if (bResult)
                     //{

--
Gitblit v1.9.1