| | |
| | | }
|
| | |
|
| | | //入库
|
| | | private void executeTask1(Task task) {
|
| | | @Transactional(rollbackFor = Exception.class)
|
| | | public void executeTask1(Task task) {
|
| | | Long hostId = task.getHostId();
|
| | | Loc loc = locService.getOne(new LambdaQueryWrapper<Loc>().eq(Loc::getLocNo, task.getTargetLoc()).eq(Loc::getHostId, hostId));
|
| | | if (loc == null) {
|
| | |
| | | }
|
| | |
|
| | | //库位移转
|
| | | private void executeTask11(Task task) {
|
| | | @Transactional(rollbackFor = Exception.class)
|
| | | public void executeTask11(Task task) {
|
| | | Long hostId = task.getHostId();
|
| | |
|
| | | Loc originLoc = locService.getOne(new LambdaQueryWrapper<Loc>().eq(Loc::getLocNo, task.getOriginLoc()).eq(Loc::getHostId, hostId));
|
| | |
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | /**
|
| | | * 更新任务明细,更新库存明细
|
| | | * @param task
|
| | | */
|
| | | //出库
|
| | | private void executeTask101(Task task) {
|
| | | Long hostId = task.getHostId();
|