rev:生成入库指令校验二段出库指令起点

This commit is contained in:
2025-10-20 15:58:42 +08:00
parent 0559d9e993
commit 827f985deb

View File

@@ -1011,6 +1011,13 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
requireSucess = false;
return true;
}
//判断有没有第二段出库输送指令,有的话则不生成入库指令
Instruction byStarCodeAndExcute = instructionService.findByStarCodeAndExcute(next_device_code);
if (ObjectUtil.isNotEmpty(byStarCodeAndExcute)) {
this.message = "有DDJ对接位出入库的指令";
requireSucess = false;
return true;
}
//关联站点判断
Device nextDevice = deviceAppService.findDeviceByCode(next_device_code);
BeltConveyorDeviceDriver beltConveyorDeviceDriver;