src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -661,6 +661,8 @@ AccreditationRecords accreditationRecords1 = collect.get(0); //修改为已制证状态 accreditationRecords1.setStatus(2); //记录打印时间 accreditationRecords1.setPaperTime(new Date()); //更新 accreditationRecordsService.updateById(accreditationRecords1); //同步 @@ -1448,8 +1450,15 @@ } } /** * 年龄分布查询 * @param user * @return */ @PostMapping("/getAgeStatistics") public R getAgeStatistics(UserVO user){ return R.data(userService.getAgeStatistics(user)); } }