|
@@ -61,12 +61,12 @@ public class StatisticalController {
|
61
|
61
|
* @return
|
62
|
62
|
*/
|
63
|
63
|
@GetMapping(value = "/admin/selectUserBehavior")
|
64
|
|
- public ResponseBean selectUserBehavior(@RequestParam(required = false) Integer pageNum,
|
65
|
|
- @RequestParam(required = false) Integer pageCode,
|
|
64
|
+ public ResponseBean selectUserBehavior(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
|
65
|
+ @RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize,
|
66
|
66
|
@RequestParam(value = "startDate", required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDate startDate,
|
67
|
67
|
@RequestParam(value = "endDate", required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) LocalDate endDate,
|
68
|
68
|
@RequestParam(value = "buildingId", required = false) String buildingId) {
|
69
|
|
- return iStatisticalService.selectUserBehavior(pageNum, pageCode, startDate, endDate, buildingId);
|
|
69
|
+ return iStatisticalService.selectUserBehavior(pageNum, pageSize, startDate, endDate, buildingId);
|
70
|
70
|
}
|
71
|
71
|
|
72
|
72
|
/**
|
|
@@ -138,5 +138,15 @@ public class StatisticalController {
|
138
|
138
|
return iStatisticalService.selectCityUser();
|
139
|
139
|
}
|
140
|
140
|
|
|
141
|
+ /**
|
|
142
|
+ * 意向用户 首页
|
|
143
|
+ * @return
|
|
144
|
+ */
|
|
145
|
+ @GetMapping(value = "/admin/selectIntentionUser")
|
|
146
|
+ public ResponseBean selectIntentionUser(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
|
147
|
+ @RequestParam(value = "pageSize", defaultValue = "2") Integer pageSize,
|
|
148
|
+ @RequestParam(value = "buildingId", required = false) String buildingId) {
|
|
149
|
+ return iStatisticalService.selectIntentionUser(pageNum, pageSize, buildingId);
|
|
150
|
+ }
|
141
|
151
|
|
142
|
152
|
}
|