|
@@ -76,5 +76,22 @@ public class UserController {
|
|
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询用户注册统计
|
|
|
+ *
|
|
|
+ * @return 用户统计
|
|
|
+ */
|
|
|
+ @PostMapping("/user/getRegisterCount")
|
|
|
+ public Map<String,Object> getRegisterCount(@RequestBody @Valid ReportModifyParam param) {
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ Map<String, Object> userRegisterCount = this.userService.getUserRegisterReport(param.getYear(),param.getMonth(),param.getType(),param.getDay());
|
|
|
+ map.put("userRegisterCount",userRegisterCount.get("registerCount") == null?0:userRegisterCount.get("registerCount"));
|
|
|
+ map.put("merchant",this.merchantService.getMerchantReportCount(param));
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|