parent
97c00c3523
commit
862a352b28
|
@ -197,11 +197,13 @@ public class DisposeAbilityRouterServiceImpl implements DisposeAbilityRouterServ
|
||||||
@Async("deviceTaskExecutor")
|
@Async("deviceTaskExecutor")
|
||||||
@Scheduled(fixedDelay = 1000)
|
@Scheduled(fixedDelay = 1000)
|
||||||
public void runPeriodTask() {
|
public void runPeriodTask() {
|
||||||
getAllAbilityDevices().forEach(v -> {
|
synchronized (this) {
|
||||||
v.getDb().periodTaskRuntime();
|
getAllAbilityDevices().forEach(v -> {
|
||||||
// 同步最新处置平台业务信息到设备
|
v.getDb().periodTaskRuntime();
|
||||||
v.getDb().upgradeServiceGroup(serviceGroupMapper.selectAll());
|
// 同步最新处置平台业务信息到设备
|
||||||
});
|
v.getDb().upgradeServiceGroup(serviceGroupMapper.selectAll());
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue