diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java index ea9e059..8334f45 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java @@ -570,8 +570,9 @@ public class ScheduledTask extends BaseService { vehicleInfo.setUpdateTime(LocalDateTime.now()); vehicleInfoServiceBiz.updateById(vehicleInfo); asynRunTaskService.asynRunTaskForStockToKiln(inStockInfo.getId(), vehicleId); + }else { + logger.info("当前两辆车都不在线.无法发起任务!"); } - logger.info("当前两辆车都不在线.无法发起任务!"); } } }