| | |
| | | .setCreateBy(loginUserId) |
| | | .setUpdateBy(loginUserId) |
| | | .setOrderId(item.getAsnId()) |
| | | .setSplrBatch(item.getBatch()) |
| | | .setPlatWorkCode(item.getPlatWorkCode()) |
| | | .setPlatItemId(item.getPlatItemId()) |
| | | .setOrderItemId(item.getAsnItemId()); |
| | | }).collect(Collectors.toList()); |
| | | |
| | |
| | | } |
| | | Task one = taskService.getOne(new LambdaQueryWrapper<Task>().eq(Task::getBarcode, params.getBarcode())); |
| | | if (!Cools.isEmpty(one)) { |
| | | if (!one.getTaskStatus().equals(TaskStsType.COMPLETE_IN.id)) { |
| | | return R.error("任务已存在但是状态不一致!!!").add("任务已存在但是状态不一致!!!"); |
| | | } |
| | | InTaskWcsReportParam inTaskWcsReportParam = new InTaskWcsReportParam(); |
| | | inTaskWcsReportParam.setTaskNo(one.getTaskCode()); |
| | | inTaskWcsReportParam.setLocNo(one.getTargLoc()); |