From 93ba0ca2116e095a57bafa5ae784e477afb57227 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期日, 29 九月 2024 15:38:34 +0800
Subject: [PATCH] 返回工序出站汇报单列表调用方法新增;工资模块获取工价调用方法修改;乔一称重入库条码生成模块增加加生成托条码(未完成)

---
 WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs
index 3440ce1..99abdc1 100644
--- a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs
@@ -875,7 +875,7 @@
                 if (oBill.omodel.HInterID == 0)
                 {
 
-                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
+                        bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                     if (bResult)
                     {
                         objJsonResult.HInterID = DBUtility.ClsPub.sExeReturnInfo; //杩斿洖涓籌D
@@ -944,7 +944,14 @@
         {
             try
             {
-                ds = new SQLHelper.ClsCN().RunProcReturn("select * from Sc_ICMOBillStatus_Tmp" + sWhere, "Sc_ICMOBillStatus_Tmp");
+                Dictionary<object, object> dic = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<object, object>>(sWhere);
+
+                string HSourceID = dic["HSourceID"].ToString();
+                string HICMOBillNo = dic["HICMOBillNo"].ToString();
+                string HInterID = dic["HInterID"].ToString();
+                string Type = dic["type"].ToString();
+
+                ds = new SQLHelper.ClsCN().RunProcReturn("exec h_p_IpadIndexButton  '"+ HSourceID + "','" + HICMOBillNo + "','" + HInterID + "','" + Type + "'", "h_p_IpadIndexButton");
                 if (ds.Tables[0].Rows.Count > 0)
                 {
                     objJsonResult.code = "1";

--
Gitblit v1.9.1