|
@@ -15,6 +15,7 @@ public class DBMgrProxy {
|
|
|
private volatile TestGeomInfoDBService testGeomInfoDBService = null;
|
|
|
private volatile WODispatchPlanDBService woDispatchPlanDBService = null;
|
|
|
private volatile WODispatchCmdBatchItemDBService woDispatchCmdBatchItemDBService = null;
|
|
|
+ private volatile WODispatchCmdInfoDBService woDispatchCmdInfoDBService = null;
|
|
|
|
|
|
//TODO 其他数据源
|
|
|
private volatile WaterTapWaterService waterTapWaterService = null;
|
|
@@ -55,6 +56,8 @@ public class DBMgrProxy {
|
|
|
woDispatchPlanDBService = (WODispatchPlanDBService)SpringContextUtil.getBean(WODispatchPlanDBService.class);
|
|
|
if (woDispatchCmdBatchItemDBService == null)
|
|
|
woDispatchCmdBatchItemDBService = (WODispatchCmdBatchItemDBService) SpringContextUtil.getBean(WODispatchCmdBatchItemDBService.class);
|
|
|
+ if (woDispatchCmdInfoDBService == null)
|
|
|
+ woDispatchCmdInfoDBService = (WODispatchCmdInfoDBService) SpringContextUtil.getBean(WODispatchCmdInfoDBService.class);
|
|
|
}
|
|
|
|
|
|
public RolePowerDBService applyRolePowerApi() {return rolePowerDBService;}
|
|
@@ -77,4 +80,5 @@ public class DBMgrProxy {
|
|
|
|
|
|
public WODispatchPlanDBService applyWODispatchPlanApi() {return woDispatchPlanDBService;}
|
|
|
public WODispatchCmdBatchItemDBService applyWODispatchItemApi() {return woDispatchCmdBatchItemDBService;}
|
|
|
+ public WODispatchCmdInfoDBService applyWODispatchCmdApi() {return woDispatchCmdInfoDBService;}
|
|
|
}
|