|
|
@ -41,7 +41,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("获取疾病统计信息") |
|
|
@ApiOperation("获取疾病统计信息") |
|
|
@PostMapping("/nntotal") |
|
|
@PostMapping("/nntotal") |
|
|
public JsonResponse<HomeDpVo.Zhsjgl> nntotal(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<HomeDpVo.Zhsjgl> nntotal(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -57,7 +57,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("BMI") |
|
|
@ApiOperation("BMI") |
|
|
@PostMapping("/nnbmihjxy") |
|
|
@PostMapping("/nnbmihjxy") |
|
|
public JsonResponse<HomeDpVo.Bmi> nnbmihjxy(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<HomeDpVo.Bmi> nnbmihjxy(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -73,7 +73,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("评估情况") |
|
|
@ApiOperation("评估情况") |
|
|
@PostMapping("/nnlast") |
|
|
@PostMapping("/nnlast") |
|
|
public JsonResponse<List<HomeDpVo.Pgqk>> nnlast(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<List<HomeDpVo.Pgqk>> nnlast(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -89,7 +89,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("年龄") |
|
|
@ApiOperation("年龄") |
|
|
@PostMapping("/nnage") |
|
|
@PostMapping("/nnage") |
|
|
public JsonResponse<HomeDpVo.Nlfb> nnage(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<HomeDpVo.Nlfb> nnage(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -105,7 +105,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("T值") |
|
|
@ApiOperation("T值") |
|
|
@PostMapping("/nntgb") |
|
|
@PostMapping("/nntgb") |
|
|
public JsonResponse<HomeDpVo.Tz> nntgb(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<HomeDpVo.Tz> nntgb(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -121,7 +121,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("疾病排行") |
|
|
@ApiOperation("疾病排行") |
|
|
@PostMapping("/nnicd") |
|
|
@PostMapping("/nnicd") |
|
|
public JsonResponse<List<HomeDpVo.Jbph>> nnicd(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<List<HomeDpVo.Jbph>> nnicd(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -137,7 +137,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("地图") |
|
|
@ApiOperation("地图") |
|
|
@PostMapping("/nnmap") |
|
|
@PostMapping("/nnmap") |
|
|
public JsonResponse<List<HomeDpVo.Dt>> nnmap(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<List<HomeDpVo.Dt>> nnmap( StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -153,7 +153,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("评估结果") |
|
|
@ApiOperation("评估结果") |
|
|
@PostMapping("/nnscale") |
|
|
@PostMapping("/nnscale") |
|
|
public JsonResponse<List<HomeDpVo.Pgjg>> nnscale(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<List<HomeDpVo.Pgjg>> nnscale(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -169,7 +169,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("学历统计") |
|
|
@ApiOperation("学历统计") |
|
|
@PostMapping("/qualificationStatistics") |
|
|
@PostMapping("/qualificationStatistics") |
|
|
public JsonResponse<List<HomeDpVo.QualificationStatistics>> qualificationStatistics(@RequestBody StatisticsDto.Query dto) { |
|
|
public JsonResponse<List<HomeDpVo.QualificationStatistics>> qualificationStatistics(StatisticsDto.Query dto) { |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -185,7 +185,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("就诊数量统计") |
|
|
@ApiOperation("就诊数量统计") |
|
|
@PostMapping("/jzStatistics") |
|
|
@PostMapping("/jzStatistics") |
|
|
public JsonResponse<HomeDpVo.JzStatistics> jzStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<HomeDpVo.JzStatistics> jzStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -201,7 +201,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("测评量表统计") |
|
|
@ApiOperation("测评量表统计") |
|
|
@PostMapping("/scaleStatistics") |
|
|
@PostMapping("/scaleStatistics") |
|
|
public JsonResponse<List<HomeDpVo.ScaleStatistics>> scaleStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<List<HomeDpVo.ScaleStatistics>> scaleStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -217,7 +217,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("测评版本统计") |
|
|
@ApiOperation("测评版本统计") |
|
|
@PostMapping("/versionStatistics") |
|
|
@PostMapping("/versionStatistics") |
|
|
public JsonResponse<List<HomeDpVo.VersionStatistics>> versionStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<List<HomeDpVo.VersionStatistics>> versionStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -233,7 +233,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("测评师测评统计") |
|
|
@ApiOperation("测评师测评统计") |
|
|
@PostMapping("/userStatistics") |
|
|
@PostMapping("/userStatistics") |
|
|
public JsonResponse<List<HomeDpVo.UserStatistics>> userStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<List<HomeDpVo.UserStatistics>> userStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -249,7 +249,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("性别统计") |
|
|
@ApiOperation("性别统计") |
|
|
@PostMapping("/sexStatistics") |
|
|
@PostMapping("/sexStatistics") |
|
|
public JsonResponse<HomeDpVo.SexStatistics> sexStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<HomeDpVo.SexStatistics> sexStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
@ -265,7 +265,7 @@ public class StatisticsController { |
|
|
@Anonymous |
|
|
@Anonymous |
|
|
@ApiOperation("吸烟饮酒统计") |
|
|
@ApiOperation("吸烟饮酒统计") |
|
|
@PostMapping("/xyYjStatistics") |
|
|
@PostMapping("/xyYjStatistics") |
|
|
public JsonResponse<HomeDpVo.XyYjStatistics> xyYjStatistics(@RequestBody StatisticsDto.Query dto){ |
|
|
public JsonResponse<HomeDpVo.XyYjStatistics> xyYjStatistics(StatisticsDto.Query dto){ |
|
|
if (dto.getDeptId() == null) { |
|
|
if (dto.getDeptId() == null) { |
|
|
// 获取请求携带的令牌
|
|
|
// 获取请求携带的令牌
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
HttpServletRequest request = ((ServletRequestAttributes) |
|
|
|