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