From 9768482b05b989e8ed4ff51713d8305f137c960b Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期四, 18 一月 2024 10:07:15 +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 1a31263..e518643 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -3266,5 +3266,30 @@ return list; } + /// <summary> + /// 澶勭悊蹇�熻繃婊ゆ柟妗堜富琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsXt_FastICSchemeMain_Model> getObjectByJson_Xt_FastICSchemeMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsXt_FastICSchemeMain_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsXt_FastICSchemeMain_Model>>(jsonString); + return list; + } + + + /// <summary> + /// 澶勭悊鏂板蹇�熻繃婊ゆ柟妗堝瓙琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsXt_FastICSchemeSub_Model> getObjectByJson_Xt_FastICSchemeSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsXt_FastICSchemeSub_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsXt_FastICSchemeSub_Model>>(jsonString); + return list; + } + } } \ No newline at end of file -- Gitblit v1.9.1