|
@@ -2,9 +2,11 @@ package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
import com.diagbot.dto.DoctorInfoDTO;
|
|
|
+import com.diagbot.dto.HospitalDeptInfoAllDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.DoctorInfoFacade;
|
|
|
import com.diagbot.vo.DoctorInfoVO;
|
|
|
+import com.diagbot.vo.HospitalCodeVo;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -30,7 +32,7 @@ import java.util.List;
|
|
|
@Api(value = "医生信息API", tags = { "医生信息API" })
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@ApiIgnore
|
|
|
-@Deprecated
|
|
|
+//@Deprecated
|
|
|
public class DoctorInfoController {
|
|
|
|
|
|
@Autowired
|
|
@@ -46,4 +48,11 @@ public class DoctorInfoController {
|
|
|
List<DoctorInfoDTO> data = doctorInfoFacade.getDoctorInfo(doctorInfoVo);
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
+ @ApiOperation(value = "根据医院编码搜索医院所有科室信息[by:wangfeng] ", notes = "hospitalCode:医院编码<br>")
|
|
|
+ @PostMapping("/getHospitalDeptInfoAll")
|
|
|
+ @SysLogger("getHospitalDeptInfoAll")
|
|
|
+ public RespDTO<List<HospitalDeptInfoAllDTO>> getHospitalDeptInfoAll(@RequestBody @Valid HospitalCodeVo hospitalCodeVo) {
|
|
|
+ List<HospitalDeptInfoAllDTO> data = doctorInfoFacade.getHospitalDeptInfoAll(hospitalCodeVo);
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
+ }
|
|
|
}
|