From cfda752a37242ba2ed68124293498abce7fc974f Mon Sep 17 00:00:00 2001 From: wyb <1qaz@123> Date: 星期四, 06 五月 2021 18:14:37 +0800 Subject: [PATCH] 委外工单下推委外工序派工单完成 --- WebAPI/ListModels.cs | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index 54af3c6..70c4593 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -153,6 +153,31 @@ } /// <summary> + /// 濮斿娲惧伐鍗曚富琛╦son澶勭悊 + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<WebAPI.Models.ClsSc_ProcessSendWorkMain> getObjectByJson_WWSendWorkMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<WebAPI.Models.ClsSc_ProcessSendWorkMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<WebAPI.Models.ClsSc_ProcessSendWorkMain>>(jsonString); + return list; + } + + /// <summary> + /// 濮斿宸ュ崟瑙嗗浘妯″瀷json澶勭悊 + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<WebAPI.Models.WW_EntrustWorkOrderViewModel> getObjectByJson_WWSendWorkSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<WebAPI.Models.WW_EntrustWorkOrderViewModel> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<WebAPI.Models.WW_EntrustWorkOrderViewModel>>(jsonString); + return list; + } + + + /// <summary> /// 璁″垝鍗曡鍥炬ā鍨媕son澶勭悊 /// </summary> /// <param name="jsonString"></param> -- Gitblit v1.9.1