| | |
| | | using LogLibrary.Log; |
| | | using Masuit.Tools; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | CreateDate = DateTime.Now, |
| | | Creater = "HK", |
| | | CurrentAddress = result.LocationID, |
| | | Grade = 1, |
| | | Grade = result.IsNG == 1 ? 1 : 2, |
| | | Dispatchertime = DateTime.Now, |
| | | PalletCode = result.PalletBarcode, |
| | | Roadway = location.RoadwayNo, |
| | |
| | | WMSTaskDTO taskDTO = new WMSTaskDTO() |
| | | { |
| | | TaskNum = task.TaskNum.Value, |
| | | Grade = 1, |
| | | Grade = result.IsNG == 1 ? 1 : 2, |
| | | PalletCode = task.PalletCode, |
| | | RoadWay = task.Roadway, |
| | | SourceAddress = task.SourceAddress, |
| | |
| | | // TaskState = (int)TaskOutStatusEnum.OutNew, |
| | | //}; |
| | | LogFactory.GetLog("分容测试完成通知").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("分容测试完成通知").Info(true, result); |
| | | LogFactory.GetLog("分容测试完成通知").Info(true, result.ToJsonString()); |
| | | return content.OK(); |
| | | } |
| | | catch (Exception ex) |