From 0e811802613977f94d899c4c6af05ec4574e9a18 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期四, 30 三月 2023 09:30:14 +0800 Subject: [PATCH] 1 --- WebAPI/ListModels.cs | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index 2e51f32..93cf150 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -40,6 +40,20 @@ List<Model.ClsSc_ICMOReportBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ICMOReportBillMain>>(jsonString); return list; } + + + + /// <summary> + /// 鏀舵枡閫氱煡鍗曞弽搴忓垪鍖� + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsCg_POInStockBillMain> getPOInStockBillMainByJson(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsCg_POInStockBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsCg_POInStockBillMain>>(jsonString); + return list; + } /// <summary> /// 澶栬喘鍏ュ簱(绾㈠瓧)鍙嶅簭鍒楀寲 /// </summary> @@ -1502,6 +1516,24 @@ return list; } + ///宸ュ簭杩斿伐鐢宠鍗� 涓昏〃 + ///ClsSc_ProcExchWorkBackBillMain + public List<Model.ClsSc_ProcExchWorkBackBillMain> getObjectByJson_ClsSc_ProcExchWorkBackBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsSc_ProcExchWorkBackBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcExchWorkBackBillMain>>(jsonString); + return list; + } + + ///宸ュ簭杩斿伐鐢宠鍗� 瀛愯〃 + ///ClsSb_EquipStockInCheckBillSub + public List<Model.ClsSc_ProcExchWorkBackBillSub> getObjectByJson_ClsSc_ProcExchWorkBackBillSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsSc_ProcExchWorkBackBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_ProcExchWorkBackBillSub>>(jsonString); + return list; + } + ///璁惧鎶曚骇妫�楠岄獙鏀跺崟 瀛愯〃 ///ClsSb_EquipWorkBeforeCheckBillSub public List<Model.ClsSb_EquipWorkBeforeCheckBillSub> getObjectByJson_ClsSb_EquipWorkBeforeCheckBillSub(string jsonString) @@ -2180,6 +2212,18 @@ } /// <summary> + /// 鐢ㄦ埛宸ュ簭鍏崇郴淇℃伅琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Models.Gy_UserProcess> getObjectByJson_Gy_UserProcess(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Models.Gy_UserProcess> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.Gy_UserProcess>>(jsonString); + return list; + } + + /// <summary> /// 鐢ㄦ埛-鐢ㄦ埛鍏崇郴淇℃伅琛ㄧ殑json /// </summary> /// <param name="jsonString"></param> -- Gitblit v1.9.1