|
@@ -0,0 +1,44 @@
|
|
|
|
+package com.diagbot.web;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+import com.diagbot.annotation.SysLogger;
|
|
|
|
+import com.diagbot.dto.DoctorInfoDTO;
|
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
|
+import com.diagbot.facade.DoctorInfoFacade;
|
|
|
|
+import com.diagbot.vo.DoctorInfoVO;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+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>
|
|
|
|
+ *
|
|
|
|
+ * @author wangyu
|
|
|
|
+ * @since 2018-11-19
|
|
|
|
+ */
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/doctorInfo")
|
|
|
|
+@Api(value = "医生信息API", tags = { "医生信息API" })
|
|
|
|
+public class DoctorInfoController {
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private DoctorInfoFacade doctorInfoFacade;
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "医生信息——查询[by:wangyu]",
|
|
|
|
+ notes = "deptCode:科室编号,必填<br>" +
|
|
|
|
+ "hospitalCode: 医院编号,必填<br>" +
|
|
|
|
+ "doctorCode: 医生编号,必填<br>")
|
|
|
|
+ @PostMapping("/getPatientInfo")
|
|
|
|
+ @SysLogger("getPatientInfo")
|
|
|
|
+ public RespDTO<List<DoctorInfoDTO>> getPatientInfo(@RequestBody DoctorInfoVO doctorInfoVo) {
|
|
|
|
+ return doctorInfoFacade.getDoctorInfo(doctorInfoVo);
|
|
|
|
+ }
|
|
|
|
+}
|