From a8ecd88282775205dc159ffc6bee3b58e149db02 Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期五, 04 六月 2021 17:36:28 +0800 Subject: [PATCH] nothing --- WebAPI/ListModels.cs | 25 +++++++++++++++++++++++++ WebAPI/WebAPI.csproj | 1 + 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index bb1db91..e46876d 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -744,5 +744,30 @@ return list; } + + /// <summary> + /// 璁惧鐐规璁″垝 涓昏〃 + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + // ClsSb_EquipDotCheckPlanBillMain + public List<Model.ClsSb_EquipDotCheckPlanBillMain> getObjectByJson_Sb_EquipDotCheckPlanBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsSb_EquipDotCheckPlanBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSb_EquipDotCheckPlanBillMain>>(jsonString); + return list; + } + /// <summary> + /// 璁惧鐐规璁″垝 瀛愯〃 + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + // ClsSb_EquipDotCheckPlanBillSub + public List<Model.ClsSb_EquipDotCheckPlanBillSub> getObjectByJson_Sb_EquipDotCheckPlanBillSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsSb_EquipDotCheckPlanBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSb_EquipDotCheckPlanBillSub>>(jsonString); + return list; + } } } \ No newline at end of file diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj index 649d2b8..8c070dd 100644 --- a/WebAPI/WebAPI.csproj +++ b/WebAPI/WebAPI.csproj @@ -349,6 +349,7 @@ <Compile Include="Controllers\CJGL\Cj_StationEntrustOutBillController.cs" /> <Compile Include="Controllers\JHGL\Gy_RoutingBillController.cs" /> <Compile Include="Controllers\QC_ManagementController.cs" /> + <Compile Include="Controllers\SBGL\Sb_EquipDotCheckPlanBillController.cs" /> <Compile Include="Controllers\Sb_CheckEqpRepairWorkBillController.cs" /> <Compile Include="Controllers\SCGL\Sc_MESStopWorkBillController.cs" /> <Compile Include="Controllers\SCGL\Sc_MESBeginWorkBillController.cs" /> -- Gitblit v1.9.1