From 2087c9488e478c95509da9e7ed942ca7a62f9f50 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 10 九月 2024 09:43:30 +0800 Subject: [PATCH] 增加异常工艺参数预警列表信息查询 --- WebAPI/Controllers/WebAPIController.cs | 77 +++++++++++++++++++++++++++++++++++++- 1 files changed, 74 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs index 5c3dbdf..1ad140f 100644 --- a/WebAPI/Controllers/WebAPIController.cs +++ b/WebAPI/Controllers/WebAPIController.cs @@ -81,6 +81,27 @@ } } + + + /// <summary> + /// 鏍规嵁鏃堕棿鑾峰彇浜ч噺姹囨姤鍗曢泦鍚� + /// </summary> + /// <returns></returns> + [Route("Web/GetICMOBillWorkQtyStatus_Tmp")] + [HttpGet] + public object GetICMOBillWorkQtyStatus_Tmp() + { + DataSet ds = new DataSet(); + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + ds = oCN.RunProcReturn("exec h_p_Sc_TodayWorkQtySumReport", "h_p_Sc_TodayWorkQtySumReport"); + objjson.code = "1"; + objjson.count = 1; + objjson.Message = "Sucess锛�"; + objjson.data = ds.Tables[0]; + return objjson; + + } + [Route("Web/GetMAXNumPDA")] [HttpGet] public object GetMAXNumPDA(string HBillType) @@ -7767,6 +7788,19 @@ } } + /// <summary> + /// 宸ヨ壓鍝佸弬鏁板垎绫昏幏鍙栦俊鎭� + /// </summary> + /// <returns></returns> + [Route("GetGy_TechnologyTypeDetail")] + [HttpGet] + public ApiResult<DataSet> GetGy_TechnologyType(string HID) + { + var model = LuBaoSevice.GetGy_TechnologyType(HID); + return model; + } + + #endregion #region 瀹㈡埛鍒嗙被 璁剧疆鍒楄〃/淇濆瓨/缂栬緫/鍒犻櫎鏂规硶 @@ -11296,10 +11330,44 @@ return objjson; ; } } - - - #endregion + + /// <summary> + /// 鑾峰彇鍩烘湰淇℃伅 + /// </summary> + /// <returns></returns> + [Route("Web/BaseInfo")] + [HttpGet] + public object GetBaseInfo() + { + try + { + ds = oCN.RunProcReturn("select * from xt_BaseInfo", "xt_BaseInfo"); + if (ds is null) + { + objjson.code = "0"; + objjson.count = 0; + objjson.Message = "鑾峰彇澶辫触" + DBUtility.ClsPub.sErrInfo; + objjson.data = null; + return objjson; + } + else + { + objjson.code = "0"; + objjson.count = 1; + objjson.Message = "鑾峰彇鎴愬姛!"; + objjson.data = ds.Tables[0]; + return objjson; + } + }catch(Exception e) + { + objjson.code = "0"; + objjson.count = 0; + objjson.Message = "鑾峰彇澶辫触" + e.Message; + objjson.data = null; + return objjson; + } + } /// <summary> /// 鑾峰彇鑱屽姟鍒楄〃 @@ -13059,6 +13127,9 @@ case "YS": HView = "h_v_Sb_EquipRepairCheckBillList"; break; + case "QD": + HView = "h_v_Sb_EquipRepairSignBillList"; + break; default: objjson.code = "0"; objjson.count = 0; -- Gitblit v1.9.1