diff --git a/acs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java b/acs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java index a8f2c8e..d29ab84 100644 --- a/acs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java +++ b/acs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java @@ -1311,6 +1311,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu //查询此终点的指令数量 List byNextDeviceCode = this.findByNextDeviceCode(next_device_code); if (byNextDeviceCode.size() >= deviceList.size()) { + logServer.log(dto.getTask_code(),"当前分配的终点设备:"+ next_device_code +"","400","当前终点的指令数量:" + byNextDeviceCode.size() + "","当前终点设备关联设备数量:"+ list.size() +"","","",dto.getVehicle_code()); return; } @@ -1326,6 +1327,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu } //如果当前关联的设备中都有货的话,就返回 if (count != 0 && count >= list.size()) { + logServer.log(dto.getTask_code(),"当前分配的终点设备:"+ next_device_code +"","400","当前终点关联设备中,有货的设备数量:" + count + "","当前终点设备关联设备数量:"+ list.size() +"","","",dto.getVehicle_code()); return; } }