|
@@ -42,14 +42,15 @@ public class ZhcxPMQMServiceImpl implements ZhcxPMQMService {
|
|
|
List<Map<String, Object>> res = new ArrayList<>();
|
|
|
Date currentDate = new Date();
|
|
|
// 获取当前抽取的最大的下发日期
|
|
|
- List<ZhcxPmqManagementSourceDo> tempList1 = sourceDao.getMaxDatetime();
|
|
|
+ List<ZhcxPmqManagementRecoredDo> tempList1 = recoredDao.getMaxDatetime();
|
|
|
String maxTime = "2000-01-01 00:00:00";
|
|
|
- if (!tempList1.isEmpty()) {
|
|
|
+ if (!tempList1.isEmpty() && tempList1.get(0) != null && tempList1.get(0).getDistributetime() != null) {
|
|
|
maxTime = DateFormatUtils.format(tempList1.get(0).getDistributetime(), "yyyy-MM-dd HH:mm:ss");
|
|
|
}
|
|
|
-
|
|
|
+ Map<String, String> queryMap01 = new HashMap<>();
|
|
|
+ queryMap01.put("maxtime", maxTime);
|
|
|
// 抽取NX系统数据
|
|
|
- List<ZhcxPmqManagementSourceDo> nxSystemData = sourceDao.getMockData();
|
|
|
+ List<ZhcxPmqManagementSourceDo> nxSystemData = sourceDao.getMockData(queryMap01);
|
|
|
newMapData(nxSystemData);
|
|
|
|
|
|
for (ZhcxPmqManagementSourceDo row : nxSystemData) {
|