|
@@ -1,20 +1,24 @@
|
|
package com.diagbot.web;
|
|
package com.diagbot.web;
|
|
|
|
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
|
+import com.diagbot.dto.GetTopPatientInfoDTO;
|
|
import com.diagbot.dto.PatientInfoDTO;
|
|
import com.diagbot.dto.PatientInfoDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.facade.PatientInfoFacade;
|
|
import com.diagbot.facade.PatientInfoFacade;
|
|
|
|
+import com.diagbot.vo.GetTopPatientInfoVO;
|
|
import com.diagbot.vo.PatientInfoVO;
|
|
import com.diagbot.vo.PatientInfoVO;
|
|
|
|
+
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
-
|
|
|
|
-import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
@@ -39,4 +43,17 @@ public class PatientInfoController {
|
|
public RespDTO<List<PatientInfoDTO>> getPatientInfo(@RequestBody PatientInfoVO patientInfoVO) {
|
|
public RespDTO<List<PatientInfoDTO>> getPatientInfo(@RequestBody PatientInfoVO patientInfoVO) {
|
|
return patientInfoFacade.getPatientInfo(patientInfoVO);
|
|
return patientInfoFacade.getPatientInfo(patientInfoVO);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "页面顶部病人医生科室信息——查询[by:rengb]",
|
|
|
|
+ notes = "hospitalCode:医院编号,必填<br>" +
|
|
|
|
+ "hospitalDeptCode:医院科室编号,必填<br>" +
|
|
|
|
+ "doctorCode:医院医生编号,必填<br>" +
|
|
|
|
+ "patientCode:医院患者编号,必填<br>")
|
|
|
|
+ @PostMapping("/getTopPatientInfo")
|
|
|
|
+ @SysLogger("getTopPatientInfo")
|
|
|
|
+ public RespDTO<GetTopPatientInfoDTO> getTopPatientInfo(@RequestBody GetTopPatientInfoVO getTopPatientInfoVO) {
|
|
|
|
+ return patientInfoFacade.getTopPatientInfo(getTopPatientInfoVO);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|