|
@@ -41,6 +41,8 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
|
|
|
|
|
|
private static IDxpDataPlanService dxpDataPlanService;
|
|
private static IDxpDataPlanService dxpDataPlanService;
|
|
|
|
|
|
|
|
+ private SyOrderDataMapper syOrderDataMapper;
|
|
|
|
+
|
|
private static ISyOrderDataItemService syOrderDataItemService;
|
|
private static ISyOrderDataItemService syOrderDataItemService;
|
|
//数据源one
|
|
//数据源one
|
|
private static ISenYuDataSourceOne senYuDataSourceOne;
|
|
private static ISenYuDataSourceOne senYuDataSourceOne;
|
|
@@ -50,7 +52,12 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
|
|
QuerySyOrder();
|
|
QuerySyOrder();
|
|
}
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 59 23 * * ?")
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public IPage<SyOrderData> queryList(SyOrderData sy, Page<SyOrderData> page) {
|
|
|
|
+ return syOrderDataMapper.queryList(sy,page);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Scheduled(cron = "0 05 11 * * ?")
|
|
public JSONObject QuerySyOrder() {
|
|
public JSONObject QuerySyOrder() {
|
|
//得到系统时间
|
|
//得到系统时间
|
|
Date day=new Date();
|
|
Date day=new Date();
|
|
@@ -167,6 +174,7 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
|
|
this.dxpDataPlanService = applicationContext.getBean(IDxpDataPlanService.class);
|
|
this.dxpDataPlanService = applicationContext.getBean(IDxpDataPlanService.class);
|
|
this.senYuDataSourceOne = applicationContext.getBean(ISenYuDataSourceOne.class);
|
|
this.senYuDataSourceOne = applicationContext.getBean(ISenYuDataSourceOne.class);
|
|
this.syOrderDataItemService = applicationContext.getBean(SyOrderDataItemServiceImpl.class);
|
|
this.syOrderDataItemService = applicationContext.getBean(SyOrderDataItemServiceImpl.class);
|
|
|
|
+ this.syOrderDataMapper = applicationContext.getBean(SyOrderDataMapper.class);
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|