llj
2025-10-21 22e94cbe8e20e99d0c7d873868a768a17f3836fa
WebAPI/ListModels.cs
@@ -9,6 +9,7 @@
using Model;
using System.Data;
using System.Text.RegularExpressions;
using WebAPI.Models;
namespace WebAPI
{
@@ -2415,6 +2416,19 @@
            List<Model.ClsGy_MatePriceSup_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_MatePriceSup_Model>>(jsonString);
            return list;
        }
        /// <summary>
        /// 处理采购价目表的json
        /// </summary>
        /// <param name="jsonString"></param>
        /// <returns></returns>
        public List<Model.ClsGy_PurPrice_Model> getObjectByJson_Gy_PurPrice(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<Model.ClsGy_PurPrice_Model> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_PurPrice_Model>>(jsonString);
            return list;
        }
        /// <summary>
        /// 处理采购价格表的json
        /// </summary>
@@ -5106,10 +5120,17 @@
            List<Model.ClsGy_SOPBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SOPBillSub>>(jsonString);
            return list;
        }
        public static implicit operator ListModels(DataTable v)
        {
            throw new NotImplementedException();
        }
        public List<ClsWW_EntrustOrderBillMain_1> getObjectByJson_WW_EntrustOrderBillMain(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<ClsWW_EntrustOrderBillMain_1> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsWW_EntrustOrderBillMain_1>>(jsonString);
            return list;
        }
    }