| | |
| | | { |
| | | public partial class MESService |
| | | { |
| | | |
| | | public WebResponseContent pushWorkOrderInfo(object json) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | if (string.IsNullOrEmpty(json.ToString())) throw new Exception("璇锋眰鍙傛暟涓虹┖"); |
| | | |
| | | var result = JsonConvert.DeserializeObject<pushWorkOrderInfo>(json.ToString()); |
| | | Console.WriteLine(json); |
| | | var result = JsonConvert.DeserializeObject<List<pushWorkOrderInfo>>(json.ToString()); |
| | | |
| | | var paintingOrderInfos = new List<Dt_PaintingOrderInfo>(); |
| | | foreach (var item in result.list) |
| | | foreach (var item in result) |
| | | { |
| | | Dt_PaintingOrderInfo paintingOrderInfo = new Dt_PaintingOrderInfo() |
| | | { |