#update
This commit is contained in:
@@ -116,7 +116,9 @@ public class InitThread implements ApplicationRunner {
|
||||
Long orgId = x.getOrgId();
|
||||
Long siteId = x.getSiteId();
|
||||
SiteMemory siteMemory = GlobalMemory.getSiteMemory(orgId, siteId);
|
||||
siteMemory.addDevicePlan(x);
|
||||
if(siteMemory!=null){
|
||||
siteMemory.addDevicePlan(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -129,7 +131,9 @@ public class InitThread implements ApplicationRunner {
|
||||
Long orgId = x.getOrgId();
|
||||
Long siteId = x.getSiteId();
|
||||
SiteMemory siteMemory = GlobalMemory.getSiteMemory(orgId, siteId);
|
||||
siteMemory.addDevicePlanPrepare(x);
|
||||
if(siteMemory!=null){
|
||||
siteMemory.addDevicePlanPrepare(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -141,7 +145,9 @@ public class InitThread implements ApplicationRunner {
|
||||
Long orgId = x.getOrgId();
|
||||
Long siteId = x.getSiteId();
|
||||
SiteMemory siteMemory = GlobalMemory.getSiteMemory(orgId, siteId);
|
||||
siteMemory.addDevicePlanExecute(x);
|
||||
if(siteMemory!=null){
|
||||
siteMemory.addDevicePlanExecute(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user