update:
取消定时修改车辆状态
This commit is contained in:
parent
1ea55bd39a
commit
bd14fe3ed9
@ -680,8 +680,7 @@ public class ScheduledTask extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//监听车辆是否在线,定时恢复车辆状态会导致避让时等待时间过久,再次发起任务,造成重复发起
|
//监听车辆是否在线,定时恢复车辆状态会导致避让时等待时间过久,再次发起任务,造成重复发起,废弃
|
||||||
@Scheduled(fixedDelay = 1000*60)
|
|
||||||
public void listenVehicleOnline() throws IOException {
|
public void listenVehicleOnline() throws IOException {
|
||||||
List<VehicleInfo> vehicleInfoList = vehicleInfoServiceBiz.list(new QueryWrapper<VehicleInfo>().eq(VehicleInfo.STATUS,1));
|
List<VehicleInfo> vehicleInfoList = vehicleInfoServiceBiz.list(new QueryWrapper<VehicleInfo>().eq(VehicleInfo.STATUS,1));
|
||||||
for (VehicleInfo vehicleInfo:vehicleInfoList
|
for (VehicleInfo vehicleInfo:vehicleInfoList
|
||||||
|
Loading…
Reference in New Issue
Block a user