|
|
@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author wang |
|
|
@ -52,4 +53,24 @@ public class StatisticalAnalysisController { |
|
|
|
log.info("查找统计病例的完成情况"); |
|
|
|
return JsonResponse.newInstance().ok(statisticsComplete); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "统计每个医院的完成情况", notes = "zy:") |
|
|
|
@RequestMapping(value = "/hospital/complete", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<StatisticVo.CompleteHospital> completeHospital(@ApiParam @Validated @RequestBody QueryDto params) { |
|
|
|
log.info("统计每个医院的完成情况:{}",params); |
|
|
|
List<StatisticVo.CompleteHospital> completeHospital = patientService.completeHospital(); |
|
|
|
log.info("查找每个医院的病例完成情况"); |
|
|
|
return JsonResponse.newInstance().ok(completeHospital); |
|
|
|
} |
|
|
|
|
|
|
|
// @MustLogin
|
|
|
|
// @ApiOperation(value = "统计医生的病例的完成情况", notes = "zy:")
|
|
|
|
// @RequestMapping(value = "/doctor/complete", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|
|
|
// public JsonResponse<StatisticVo.CompleteHospital> completeDoctor(@ApiParam @Validated @RequestBody QueryDto<StatisticDto.Complete> params) {
|
|
|
|
// log.info("统计每个医院的完成情况:{}",params);
|
|
|
|
// List<StatisticVo.CompleteHospital> completeHospital = patientService.completeHospital();
|
|
|
|
// log.info("查找每个医院的病例完成情况");
|
|
|
|
// return JsonResponse.newInstance().ok(completeHospital);
|
|
|
|
// }
|
|
|
|
} |
|
|
|