From 86cb67be84a3edb328154c491d02b58e899f36ae Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 13 三月 2024 16:07:53 +0800
Subject: [PATCH] 根据职员内码获取部门、主管

---
 WebAPI/Controllers/CJGL/ProductionPlanReportController.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
index 4703549..49fccb7 100644
--- a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
+++ b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs
@@ -30,6 +30,10 @@
             public string F_BSV_WYID;
             public string HBillNo;
             public string HMaterNumber;
+            public int IsTrue;
+            public int HState;
+            public int HSTATUS;
+            public string sWhere1;
         }
         [Route("ProductionPlanReport/ProductionPlanReportList")]
         [HttpGet]
@@ -41,7 +45,7 @@
                 ProductionPlanReport com = JsonConvert.DeserializeObject<ProductionPlanReport>(sWhere.ToString());
 
                 ds = oCN.RunProcReturn($"exec h_p_Cj_ProductionPlanReportList {com.HOrgID},'{com.HBeginDate}','{com.HEndDate}'" +
-                    $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.F_BSV_WYID}','{com.HMaterNumber}','{com.HBillNo}'", "h_p_Cj_ProductionPlanReportList");
+                    $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.F_BSV_WYID}','{com.HMaterNumber}','{com.HBillNo}',{com.IsTrue},'{com.HState}','{com.HSTATUS}','{com.sWhere1}'", "h_p_Cj_ProductionPlanReportList");
 
                 objJsonResult.code = "1";
                 objJsonResult.count = 1;

--
Gitblit v1.9.1