From ce49d66ec953af02f5f8f41d0ebc33d80f923e0d Mon Sep 17 00:00:00 2001 From: loujf Date: Thu, 21 Jul 2022 13:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nl/acs/instruction/service/impl/InstructionServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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; } }