| | |
| | | { |
| | | return WebResponseContent.Instance.Error($"鏈壘鍒板搴旂殑璐т綅淇℃伅"); |
| | | } |
| | | |
| | | Dt_Task task = Repository.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) |
| | | { |
| | |
| | | Dt_Task taskTemp = Repository.QueryFirst(x => x.PalletCode == stockInfo.PalletCode); |
| | | if (taskTemp != null) |
| | | { |
| | | return WebResponseContent.Instance.OK(data: taskTemp); |
| | | return WebResponseContent.Instance.OK(data: _mapper.Map<WMSTaskDTO>(taskTemp)); |
| | | } |
| | | |
| | | Dt_LocationInfo? newLocation = _basicService.LocationInfoService.AssignLocation(needRelocationItem.RoadwayNo, (PalletTypeEnum)task.PalletType, task.WarehouseId); |