From 86cb087c3d5b6acf85fc215a64cf3ddf95bf084d Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期六, 19 六月 2021 08:36:41 +0800 Subject: [PATCH] 生产管理:增加 完工单 编辑模块(新增,修改,删除)增加完工单列表; --- WebAPI/ListModels.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index e7f8982..717e6d6 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -1040,5 +1040,17 @@ List<Model.ClsSc_MESEndWorkBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MESEndWorkBillMain>>(jsonString); return list; } + + /// <summary> + /// 澶勭悊鏂板鐢熶骇鍋滃伐鍗曠殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsSc_MESStopWorkBillMain> getObjectByJson_Gy_MESStopWorkBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsSc_MESStopWorkBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_MESStopWorkBillMain>>(jsonString); + return list; + } } } \ No newline at end of file -- Gitblit v1.9.1