修改体检统计数据的参数
This commit is contained in:
parent
d97cfd103b
commit
83bc8a06b0
@ -1501,9 +1501,9 @@ public class InspectPatientController {
|
||||
}
|
||||
@GetMapping("/getPatientDetails")
|
||||
@Operation(summary = "根据时间范围获得患者统计信息")
|
||||
public CommonResult<List<InspectPatientDO>> getPatientDetails(@RequestParam("stadate") String stadate, @RequestParam("enddate")String enddate,@RequestParam("addname") String addname) {
|
||||
public CommonResult<List<InspectPatientDO>> getPatientDetails(@Valid PatientDetailsVO patientDetailsVO) {
|
||||
|
||||
List<InspectPatientDO> doList= patientService.getPatientdetails(stadate,enddate,addname);
|
||||
List<InspectPatientDO> doList= patientService.getPatientdetails(patientDetailsVO);
|
||||
|
||||
return success(doList);
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package cn.iocoder.yudao.module.inspect.controller.admin.inspectpatient.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PatientDetailsVO {
|
||||
@Schema(description = "开始时间")
|
||||
private String stadate;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
private String enddate;
|
||||
|
||||
@Schema(description = "地址")
|
||||
private String addname;
|
||||
|
||||
@Schema(description = "所属卫生院")
|
||||
private String examhosname;
|
||||
}
|
Loading…
Reference in New Issue
Block a user