|
@@ -3,6 +3,8 @@ package com.diagbot.web;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
+import javax.validation.Valid;
|
|
|
|
+
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -52,7 +54,7 @@ public class PatientInfoController {
|
|
"patientCode:医院患者编号,必填<br>")
|
|
"patientCode:医院患者编号,必填<br>")
|
|
@PostMapping("/getTopPatientInfo")
|
|
@PostMapping("/getTopPatientInfo")
|
|
@SysLogger("getTopPatientInfo")
|
|
@SysLogger("getTopPatientInfo")
|
|
- public RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(@RequestBody GetTopPatientInfoVO getTopPatientInfoVO) {
|
|
|
|
|
|
+ public RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(@Valid @RequestBody GetTopPatientInfoVO getTopPatientInfoVO) {
|
|
return patientInfoFacade.getTopPatientInfo(getTopPatientInfoVO);
|
|
return patientInfoFacade.getTopPatientInfo(getTopPatientInfoVO);
|
|
}
|
|
}
|
|
|
|
|