|
|
@@ -3,6 +3,7 @@ package com.chinaitop.depot.risk.controller;
|
|
3
|
3
|
import com.chinaitop.depot.risk.model.ContentPreControlAlarm;
|
|
4
|
4
|
import com.chinaitop.depot.risk.service.ContentPreControlAlarmService;
|
|
5
|
5
|
import com.chinaitop.depot.unissoft.model.ResponseEntity;
|
|
|
6
|
+import com.chinaitop.depot.utils.ParameterUtil;
|
|
6
|
7
|
import com.github.pagehelper.PageHelper;
|
|
7
|
8
|
import com.github.pagehelper.PageInfo;
|
|
8
|
9
|
import com.google.common.collect.Maps;
|
|
|
@@ -52,11 +53,12 @@ public class ContentPreControlAlarmController {
|
|
52
|
53
|
}
|
|
53
|
54
|
Map<String, Object> queryMap = Maps.newHashMap();
|
|
54
|
55
|
if (StringUtils.isNotBlank(startDate)) {
|
|
55
|
|
- queryMap.put("startDate", startDate);
|
|
|
56
|
+ queryMap.put("startDate", ParameterUtil.string2datetime(startDate));
|
|
56
|
57
|
}
|
|
57
|
58
|
if (StringUtils.isNotBlank(endDate)) {
|
|
58
|
|
- queryMap.put("endDate", endDate);
|
|
|
59
|
+ queryMap.put("endDate", ParameterUtil.string2datetime(endDate));
|
|
59
|
60
|
}
|
|
|
61
|
+
|
|
60
|
62
|
queryMap.put("orgId", orgId);
|
|
61
|
63
|
return ResponseEntity.ok(new PageInfo<>(contentPreControlAlarmService.selectListPage(queryMap)));
|
|
62
|
64
|
}
|