|
|
|
@ -1018,6 +1018,9 @@ public class IOrderBoxServiceImpl implements IOrderBoxService { |
|
|
|
} |
|
|
|
} |
|
|
|
Station station = (Station) stationR.getData(); |
|
|
|
Station station = (Station) stationR.getData(); |
|
|
|
List<Task> taskList = taskService.list(new LambdaQueryWrapper<Task>().eq(Task::getStationId, station.getId()).orderByDesc(Task::getUpdateTime)); |
|
|
|
List<Task> taskList = taskService.list(new LambdaQueryWrapper<Task>().eq(Task::getStationId, station.getId()).orderByDesc(Task::getUpdateTime)); |
|
|
|
|
|
|
|
if (taskList==null||taskList.size()==0) { |
|
|
|
|
|
|
|
return R.fail("未查询到该站点任务状态"); |
|
|
|
|
|
|
|
} |
|
|
|
R boxbarcodeDetailsR = getBoxbarcodeDetails(taskList.get(0).getBoxBarcode()); |
|
|
|
R boxbarcodeDetailsR = getBoxbarcodeDetails(taskList.get(0).getBoxBarcode()); |
|
|
|
if (!boxbarcodeDetailsR.isSuccess()) { |
|
|
|
if (!boxbarcodeDetailsR.isSuccess()) { |
|
|
|
return boxbarcodeDetailsR; |
|
|
|
return boxbarcodeDetailsR; |
|
|
|
|