| | |
| | | { |
| | | return webResponse = WebResponseContent.Instance.OK($"è¯¥åæ®æ éåä¼ MES"); |
| | | } |
| | | |
| | | if (outboundOrder.IsBatch == 0 && outboundOrder.OrderStatus != OutOrderStatusEnum.åºåºå®æ.ObjToInt()) |
| | | { |
| | | return webResponse = WebResponseContent.Instance.OK($"è¯¥åæ®å±äºä¸åæ¹èªå¨åä¼ ï¼ä¸å¯æå¨åæ¹åä¼ "); |
| | | } |
| | | List<Dt_MesReturnRecord> returnRecords = BaseDal.QueryData(x => x.OrderNo == orderNo && x.OrderId == outboundOrder.Id && x.ReturnStatus == 2); |
| | | |
| | | foreach (var item in returnRecords) |
| | |
| | | Dt_MesReturnRecord mesReturnRecord = new Dt_MesReturnRecord() |
| | | { |
| | | ApiUrl = httpResponseResult.ApiUrl, |
| | | InterfaceType = 1, |
| | | InterfaceType = 4, |
| | | OrderId = materialCodeInfo.OrderId ?? 0, |
| | | OrderNo = materialCodeInfo.OrderNo ?? "", |
| | | RequestCode = reqCode, |