From f4f74522ca4a4fb455a364d38375b7427e031138 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期四, 28 十月 2021 15:03:14 +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 d50fa2a..ed565f4 100644
--- a/WebAPI/ListModels.cs
+++ b/WebAPI/ListModels.cs
@@ -1402,6 +1402,18 @@
return list;
}
+ /// <summary>
+ /// 澶勭悊鏂板璁惧鍒嗙被涓昏〃鐨刯son
+ /// </summary>
+ /// <param name="jsonString"></param>
+ /// <returns></returns>
+ public List<Models.ClsGy_EquipFileType> getObjectByJson_Gy_EquipFileType(string jsonString)
+ {
+ jsonString = "[" + jsonString.ToString() + "]";
+ List<Models.ClsGy_EquipFileType> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_EquipFileType>>(jsonString);
+ return list;
+ }
+
/// <summary>
/// PDA澶勭悊鏂板璁惧淇濆吇璁板綍鍗曞瓙琛ㄧ殑json
--
Gitblit v1.9.1