增加电子标签判断条件
This commit is contained in:
@@ -510,6 +510,7 @@ public class PdaServiceImp implements PdaService {
|
|||||||
private void deleteTagTask(TrayCodeMakeSure trayCodeMakeSure, BasWarehouse basWarehouse, MydoJob mydoJob) {
|
private void deleteTagTask(TrayCodeMakeSure trayCodeMakeSure, BasWarehouse basWarehouse, MydoJob mydoJob) {
|
||||||
if ("2".equals(basWarehouse.getWarehouseType()) && "23".equals(mydoJob.getInOrOut())) {
|
if ("2".equals(basWarehouse.getWarehouseType()) && "23".equals(mydoJob.getInOrOut())) {
|
||||||
BasTag basTag = basTagService.selectBasTagByTrayCode(trayCodeMakeSure.getTrayCode());
|
BasTag basTag = basTagService.selectBasTagByTrayCode(trayCodeMakeSure.getTrayCode());
|
||||||
|
if (ObjUtil.isNotNull(basTag)){
|
||||||
basTag.setTrayCode("");
|
basTag.setTrayCode("");
|
||||||
basTag.setSendCompleted("0");
|
basTag.setSendCompleted("0");
|
||||||
basTagService.updateBasTag(basTag);
|
basTagService.updateBasTag(basTag);
|
||||||
@@ -522,7 +523,7 @@ public class PdaServiceImp implements PdaService {
|
|||||||
.map(TagTask::getId)
|
.map(TagTask::getId)
|
||||||
.toArray(Long[]::new));
|
.toArray(Long[]::new));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user