更新
This commit is contained in:
@@ -1311,6 +1311,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
|
|||||||
//查询此终点的指令数量
|
//查询此终点的指令数量
|
||||||
List<Instruction> byNextDeviceCode = this.findByNextDeviceCode(next_device_code);
|
List<Instruction> byNextDeviceCode = this.findByNextDeviceCode(next_device_code);
|
||||||
if (byNextDeviceCode.size() >= deviceList.size()) {
|
if (byNextDeviceCode.size() >= deviceList.size()) {
|
||||||
|
logServer.log(dto.getTask_code(),"当前分配的终点设备:"+ next_device_code +"","400","当前终点的指令数量:" + byNextDeviceCode.size() + "","当前终点设备关联设备数量:"+ list.size() +"","","",dto.getVehicle_code());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1326,6 +1327,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
|
|||||||
}
|
}
|
||||||
//如果当前关联的设备中都有货的话,就返回
|
//如果当前关联的设备中都有货的话,就返回
|
||||||
if (count != 0 && count >= list.size()) {
|
if (count != 0 && count >= list.size()) {
|
||||||
|
logServer.log(dto.getTask_code(),"当前分配的终点设备:"+ next_device_code +"","400","当前终点关联设备中,有货的设备数量:" + count + "","当前终点设备关联设备数量:"+ list.size() +"","","",dto.getVehicle_code());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user