From 26ba47c84ba0b96943869a541178e7e394d424f5 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期三, 28 八月 2024 13:04:57 +0800 Subject: [PATCH] 新增报工台页面跳转获取数据方法 --- WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs index 5e32490..99abdc1 100644 --- a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs +++ b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs @@ -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