wanshenmean
23 小时以前 8c3a3fd584e38e72bfb321ab70bfcfc2ab0a4e2e
Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs
@@ -117,6 +117,7 @@
                    TaskType = TaskOutboundTypeEnum.OutEmpty.GetHashCode(),
                    TaskStatus = TaskStatusEnum.New.GetHashCode(),
                    Grade = 1,
                    Dispatchertime = DateTime.Now,
                    TaskNum = await BaseDal.GetTaskNo(),
                    Creater = "system",
                };
@@ -167,6 +168,8 @@
                    location.LocationStatus = LocationStatusEnum.Free.GetHashCode();
                    task.TaskStatus = TaskOutStatusEnum.OutFinish.GetHashCode();
                    var updateLocationResult = await _locationInfoService.UpdateLocationInfoAsync(location);
                    var updateStockResult = await _stockInfoService.UpdateStockAsync(stockInfo);
                    if (!updateLocationResult || !updateStockResult)