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