| | |
| | | using Model; |
| | | using System.Data; |
| | | using System.Text.RegularExpressions; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI |
| | | { |
| | |
| | | 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; |
| | | } |
| | | } |
| | | } |