增加电子标签判断条件

This commit is contained in:
liuhanqing
2025-11-07 16:37:05 +08:00
parent 64affa79c6
commit 25bcc67edb

View File

@@ -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));
} }
}
} }
} }