Browse Source

Merge remote-tracking branch 'origin/dev/icss20200109_template' into dev/icss20200109_template

zhoutg 5 years ago
parent
commit
000bddb974

+ 52 - 0
docs/029.20200109模板新需求/icss.sql

@@ -0,0 +1,52 @@
+use `sys-icss`;
+
+ALTER TABLE `icss_template_info`
+ADD COLUMN `spell` varchar(100) DEFAULT NULL COMMENT '拼音' AFTER `name`;
+
+DROP TABLE IF EXISTS `icss_template_folder`;
+CREATE TABLE `icss_template_folder` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1)  NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20)  NOT NULL DEFAULT '' COMMENT '创建人姓名',
+  `modifier` varchar(20)  NOT NULL DEFAULT '' COMMENT '修改人姓名',
+  `name` varchar(300) NOT NULL DEFAULT '' COMMENT '名称',
+  `hospital_id` bigint(20) DEFAULT NULL COMMENT '医院id',
+  `doctor_id` bigint(20) DEFAULT NULL COMMENT '医生id',
+  `template_type` int(11) NOT NULL DEFAULT '1' COMMENT '模板类型(个人1,管理员2)',
+  `order_no` int(11) NOT NULL DEFAULT '1' COMMENT '排序号',
+  `remark` varchar(255)  NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8  COMMENT='模板文件夹表';
+
+
+DROP TABLE IF EXISTS `icss_folder_mapping`;
+CREATE TABLE `icss_folder_mapping` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(1)  NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(20)  NOT NULL DEFAULT '' COMMENT '创建人姓名',
+  `modifier` varchar(20)  NOT NULL DEFAULT '' COMMENT '修改人姓名',
+  `template_id` bigint(20) DEFAULT NULL COMMENT '模板id',
+  `folder_id` bigint(20) DEFAULT NULL COMMENT '文件夹id',
+  `order_no` int(11) NOT NULL DEFAULT '1' COMMENT '排序号',
+  `remark` varchar(255)  NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8  COMMENT='模板文件夹映射表';
+
+
+DROP TABLE IF EXISTS `icss_template_quote`;
+CREATE TABLE `icss_template_quote` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `is_deleted` char(3) DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(60) DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(60) DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `template_id` bigint(20) DEFAULT NULL COMMENT '模板id',
+  `doctor_id` bigint(20) DEFAULT NULL COMMENT '医生id',
+  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='模板引用表';

+ 9 - 0
icss-service/src/main/java/com/diagbot/client/TranServiceClient.java

@@ -70,6 +70,15 @@ public interface TranServiceClient {
     @PostMapping("/doctorInfo/doctorInfoMapByIds")
     RespDTO<Map<Long, DoctorInfo>> doctorInfoMapByIds(@RequestBody List<Long> ids);
 
+    /**
+     * 根据id获取医生信息
+     *
+     * @param id
+     * @return
+     */
+    @PostMapping("/doctorInfo/doctorInfoById")
+    RespDTO<DoctorInfoDTO> getDoctorInfoById(@RequestBody Long id);
+
     /**
      * 根据ids获取科室信息map
      *

+ 12 - 0
icss-service/src/main/java/com/diagbot/client/hystrix/TranServiceHystrix.java

@@ -64,6 +64,18 @@ public class TranServiceHystrix implements TranServiceClient {
         return null;
     }
 
+    /**
+     * 根据id获取医生信息
+     *
+     * @param id
+     * @return
+     */
+    @Override
+    public RespDTO<DoctorInfoDTO> getDoctorInfoById(@RequestBody Long id) {
+        log.error("【hystrix】调用{}异常", "getDoctorInfoById");
+        return null;
+    }
+
     @Override
     public RespDTO<HospitalInfoDTO> getHospitalInfo(HospitalInfoVO hospitalInfoVO) {
         log.error("【hystrix】调用{}异常", "getHospitalInfo");

+ 7 - 150
icss-service/src/main/java/com/diagbot/entity/TemplateInfo.java

@@ -1,11 +1,13 @@
 package com.diagbot.entity;
 
-import java.io.Serializable;
-import java.util.Date;
-
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.io.Serializable;
+import java.util.Date;
 
 /**
  * <p>
@@ -15,6 +17,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
  * @author wangfeng
  * @since 2018-11-19
  */
+@Getter
+@Setter
 @TableName("icss_template_info")
 public class TemplateInfo implements Serializable {
 
@@ -103,151 +107,4 @@ public class TemplateInfo implements Serializable {
      * 备注
      */
     private String remark;
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-    public String getIsDeleted() {
-        return isDeleted;
-    }
-
-    public void setIsDeleted(String isDeleted) {
-        this.isDeleted = isDeleted;
-    }
-    public Date getGmtCreate() {
-        return gmtCreate;
-    }
-
-    public void setGmtCreate(Date gmtCreate) {
-        this.gmtCreate = gmtCreate;
-    }
-    public Date getGmtModified() {
-        return gmtModified;
-    }
-
-    public void setGmtModified(Date gmtModified) {
-        this.gmtModified = gmtModified;
-    }
-    public String getCreator() {
-        return creator;
-    }
-
-    public void setCreator(String creator) {
-        this.creator = creator;
-    }
-    public String getModifier() {
-        return modifier;
-    }
-
-    public void setModifier(String modifier) {
-        this.modifier = modifier;
-    }
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-    public Long getDoctorId() {
-        return doctorId;
-    }
-
-    public void setDoctorId(Long doctorId) {
-        this.doctorId = doctorId;
-    }
-   
-    public Long getHospitalDeptId() {
-		return hospitalDeptId;
-	}
-
-	public void setHospitalDeptId(Long hospitalDeptId) {
-		this.hospitalDeptId = hospitalDeptId;
-	}
-
-	public Long getHospitalId() {
-        return hospitalId;
-    }
-
-    public void setHospitalId(Long hospitalId) {
-        this.hospitalId = hospitalId;
-    }
-    
-    public Integer getSex() {
-		return sex;
-	}
-
-	public void setSex(Integer sex) {
-		this.sex = sex;
-	}
-
-	public String getType() {
-        return type;
-    }
-
-    public void setType(String type) {
-        this.type = type;
-    }
-    public String getPreview() {
-        return preview;
-    }
-
-    public void setPreview(String preview) {
-        this.preview = preview;
-    }
-    public String getDataJson() {
-        return dataJson;
-    }
-
-    public void setDataJson(String dataJson) {
-        this.dataJson = dataJson;
-    }
-    public String getRemark() {
-        return remark;
-    }
-
-    public void setRemark(String remark) {
-        this.remark = remark;
-    }
-
-    public Integer getTemplateType() {
-        return templateType;
-    }
-
-    public void setTemplateType(Integer templateType) {
-        this.templateType = templateType;
-    }
-
-    public static long getSerialVersionUID() {
-        return serialVersionUID;
-    }
-
-    public void setSpell(String spell) {
-        this.spell = spell;
-    }
-
-    @Override
-    public String toString() {
-        return "TemplateInfo{" +
-        "id=" + id +
-        ", isDeleted=" + isDeleted +
-        ", gmtCreate=" + gmtCreate +
-        ", gmtModified=" + gmtModified +
-        ", creator=" + creator +
-        ", modifier=" + modifier +
-        ", name=" + name +
-        ", doctorId=" + doctorId +
-        ", hospitalDeptId=" + hospitalDeptId +
-        ", hospitalId=" + hospitalId +
-        ", sex" + sex +
-        ", type=" + type +
-        ", preview=" + preview +
-        ", dataJson=" + dataJson +
-        ", remark=" + remark +
-        "}";
-    }
 }

+ 2 - 0
icss-service/src/main/java/com/diagbot/facade/TemplateAdminFacade.java

@@ -99,6 +99,7 @@ public class TemplateAdminFacade extends TemplateInfoServiceImpl {
         templateInfo.setId(templateInfoRevampVO.getId());//模板id
         templateInfo.setName(templateInfoRevampVO.getModeName());//模板名称
         templateInfo.setGmtModified(DateUtil.now());//修改时间
+        templateInfo.setSpell(templateInfoRevampVO.getSpell().toUpperCase());//拼音
         res = updateById(templateInfo);
         if (!res) {
             throw new CommonException(CommonErrorCode.UPDATE_INFO_FAIL);
@@ -149,6 +150,7 @@ public class TemplateAdminFacade extends TemplateInfoServiceImpl {
         templateInfo.setName(templateInfosVO.getModeName());//模板名称
         templateInfo.setType(templateInfosVO.getModeType());//类型
         templateInfo.setTemplateType(TemplateTypeEnum.AdminTemplate.getKey());//模板类型
+        templateInfo.setSpell(templateInfosVO.getSpell().toUpperCase());//拼音
         res = save(templateInfo);
         if (!res) {
             throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED);

+ 2 - 1
icss-service/src/main/java/com/diagbot/facade/TemplateInfoFacade.java

@@ -123,6 +123,7 @@ public class TemplateInfoFacade extends TemplateInfoServiceImpl {
         templateInfo.setId(templateInfoRevampVO.getId());//模板id
         templateInfo.setName(templateInfoRevampVO.getModeName());//模板名称
         templateInfo.setGmtModified(DateUtil.now());//修改时间
+        templateInfo.setSpell(templateInfoRevampVO.getSpell().toUpperCase());//拼音
         boolean res = updateById(templateInfo);
         if (!res) {
             throw new CommonException(CommonErrorCode.UPDATE_INFO_FAIL);
@@ -167,6 +168,7 @@ public class TemplateInfoFacade extends TemplateInfoServiceImpl {
         templateInfo.setName(templateInfosVO.getModeName());//模板名称
         templateInfo.setType(templateInfosVO.getModeType());//类型
         templateInfo.setTemplateType(TemplateTypeEnum.PersonalTemplate.getKey());//模板类型
+        templateInfo.setSpell(templateInfosVO.getSpell().toUpperCase());//拼音
         boolean res = save(templateInfo);
         if (!res) {
             throw new CommonException(CommonErrorCode.INSERT_DATA_FAILED);
@@ -208,7 +210,6 @@ public class TemplateInfoFacade extends TemplateInfoServiceImpl {
     }
 
     /**
-     * @param page
      * @param templateInfoPageVO
      * @return
      */

+ 62 - 2
icss-service/src/main/java/com/diagbot/facade/TemplateQuoteFacade.java

@@ -1,14 +1,74 @@
 package com.diagbot.facade;
 
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.diagbot.client.TranServiceClient;
+import com.diagbot.dto.DoctorInfoDTO;
+import com.diagbot.dto.RespDTO;
+import com.diagbot.entity.TemplateInfo;
+import com.diagbot.entity.TemplateQuote;
+import com.diagbot.enums.IsDeleteEnum;
+import com.diagbot.enums.TemplateTypeEnum;
+import com.diagbot.exception.CommonErrorCode;
+import com.diagbot.exception.CommonException;
+import com.diagbot.service.impl.TemplateQuoteServiceImpl;
+import com.diagbot.util.BeanUtil;
+import com.diagbot.util.DateUtil;
+import com.diagbot.util.RespDTOUtil;
+import com.diagbot.vo.TemplateQuoteVO;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
+import java.util.Date;
+
 /**
- * @author wangfeng
+ * @author gaodm
  * @Description:
  * @date 2020-01-09 18:29
  */
 @Component
-public class TemplateQuoteFacade {
+public class TemplateQuoteFacade extends TemplateQuoteServiceImpl {
+
+    @Autowired
+    private TemplateInfoFacade templateInfoFacade;
+    @Autowired
+    private TranServiceClient tranServiceClient;
+
+    /**
+     * 添加模板引用
+     *
+     * @param templateQuoteVO
+     * @return
+     */
+    public Boolean addTemplateQuote(TemplateQuoteVO templateQuoteVO) {
+        //模板存在性验证
+        QueryWrapper<TemplateInfo> templateInfoQuery = new QueryWrapper<>();
+        templateInfoQuery
+                .eq("id", templateQuoteVO.getTemplateId())
+                .eq("is_deleted", IsDeleteEnum.N.getKey());
+        TemplateInfo templateInfo = templateInfoFacade.getOne(templateInfoQuery, false);
+        if (null == templateInfo) {
+            throw new CommonException(CommonErrorCode.NOT_EXISTS, "该模板不存在!");
+        }
+        //医生存在性验证
+        RespDTO<DoctorInfoDTO> res
+                = tranServiceClient.getDoctorInfoById(templateQuoteVO.getDoctorId());
+        RespDTOUtil.respNGDeal(res, "该医生不存在!");
+        //逻辑验证
+        if (templateInfo.getTemplateType().equals(TemplateTypeEnum.PersonalTemplate.getKey())){
+            if (!templateInfo.getDoctorId().equals(templateQuoteVO.getDoctorId())){
+                throw new CommonException(CommonErrorCode.NO_PERMISSION, "无权引用该模板!");
+            }
+        }
 
+        //引用模板
+        Date now = DateUtil.now();
+        TemplateQuote templateQuote = new TemplateQuote();
+        BeanUtil.copyProperties(templateQuoteVO, templateQuote);
+        templateQuote.setCreator(templateQuoteVO.getDoctorId().toString());
+        templateQuote.setModifier(templateQuoteVO.getDoctorId().toString());
+        templateQuote.setGmtCreate(now);
+        templateQuote.setGmtModified(now);
 
+        return this.save(templateQuote);
+    }
 }

+ 3 - 0
icss-service/src/main/java/com/diagbot/vo/TemplateInfoRevampVO.java

@@ -38,4 +38,7 @@ public class TemplateInfoRevampVO{
 	
 	@NotBlank(message = "请输入模板类型")
 	private String type;//模板名
+
+	@NotBlank(message = "请输入模板拼音首字母")
+	private String spell;//拼音
 }

+ 21 - 20
icss-service/src/main/java/com/diagbot/vo/TemplateInfosVO.java

@@ -1,13 +1,12 @@
 package com.diagbot.vo;
 
-import javax.validation.constraints.NotBlank;
-import javax.validation.constraints.NotNull;
-
 import lombok.Getter;
 import lombok.Setter;
 
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+
 /**
- * 
  * @author wangfeng
  * @Description: 病历保存
  * @date 2018年11月16日 下午3:35:05
@@ -15,20 +14,22 @@ import lombok.Setter;
 @Getter
 @Setter
 public class TemplateInfosVO {
-	@NotBlank(message = "请输入模板名字")
-	private String modeName;//模板名字
-	@NotNull(message = "请输入医生id")
-	private Long doctorId;//医生id
-	@NotNull(message = "请输入医院id")
-	private Long hospitalId;//医院id
-	@NotNull(message = "请输入部门id")
-	private Long hospitalDeptId;//部门id
-	@NotNull(message = "请输入性别")
-	private Integer sex;//性别
-	@NotBlank(message = "请输入模板类型")
-	private String modeType;//模板类型
-	@NotNull(message = "请输入预览文本")
-	private ContentsVO preview;//预览文本
-	@NotBlank(message = "请输入模板数据")
-	private String dataJson;//模板数据
+    @NotBlank(message = "请输入模板名字")
+    private String modeName;//模板名字
+    @NotNull(message = "请输入医生id")
+    private Long doctorId;//医生id
+    @NotNull(message = "请输入医院id")
+    private Long hospitalId;//医院id
+    @NotNull(message = "请输入部门id")
+    private Long hospitalDeptId;//部门id
+    @NotNull(message = "请输入性别")
+    private Integer sex;//性别
+    @NotBlank(message = "请输入模板类型")
+    private String modeType;//模板类型
+    @NotNull(message = "请输入预览文本")
+    private ContentsVO preview;//预览文本
+    @NotBlank(message = "请输入模板数据")
+    private String dataJson;//模板数据
+    @NotBlank(message = "请输入模板拼音首字母")
+    private String spell;//拼音
 }

+ 32 - 0
icss-service/src/main/java/com/diagbot/vo/TemplateQuoteVO.java

@@ -0,0 +1,32 @@
+package com.diagbot.vo;
+
+import lombok.Getter;
+import lombok.Setter;
+
+import javax.validation.constraints.NotNull;
+
+/**
+ * @Description:
+ * @author: gaodm
+ * @time: 2020/1/13 13:30
+ */
+@Getter
+@Setter
+public class TemplateQuoteVO {
+    /**
+     * 模板id
+     */
+    @NotNull(message="请输入模板id")
+    private Long templateId;
+
+    /**
+     * 医生id
+     */
+    @NotNull(message="请输入医生id")
+    private Long doctorId;
+
+    /**
+     * 备注
+     */
+    private String remark;
+}

+ 28 - 10
icss-service/src/main/java/com/diagbot/web/TemplateQuoteController.java

@@ -1,20 +1,38 @@
 package com.diagbot.web;
 
-
+import com.diagbot.annotation.SysLogger;
+import com.diagbot.dto.RespDTO;
+import com.diagbot.facade.TemplateQuoteFacade;
+import com.diagbot.vo.TemplateQuoteVO;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RestController;
 
 /**
- * <p>
- *  前端控制器
- * </p>
- *
- * @author wangfeng
- * @since 2020-01-09
+ * @Description: 模板引用
+ * @author: gaodm
+ * @time: 2020/1/13 13:28
  */
-@Controller
+@RestController
 @RequestMapping("/templateQuote")
+@Api(value = "模板引用API[by:gaodm]", tags = { "模板引用API" })
+@SuppressWarnings("unchecked")
 public class TemplateQuoteController {
+    @Autowired
+    private TemplateQuoteFacade templateQuoteFacade;
+
 
+    @ApiOperation(value = "添加模板引用[by:gaodm]")
+    @PostMapping("/addTemplateQuote")
+    @SysLogger("addTemplateQuote")
+    @Transactional
+    public RespDTO<Boolean> addTemplateQuote(@RequestBody @Validated TemplateQuoteVO templateQuoteVO) {
+        return RespDTO.onSuc(templateQuoteFacade.addTemplateQuote(templateQuoteVO));
+    }
 }

+ 25 - 10
tran-service/src/main/java/com/diagbot/facade/DoctorInfoFacade.java

@@ -1,18 +1,20 @@
 package com.diagbot.facade;
 
-import java.util.List;
-import java.util.Map;
-import java.util.stream.Collectors;
-
+import com.diagbot.dto.DoctorInfoDTO;
 import com.diagbot.dto.DoctorInfoFindDTO;
+import com.diagbot.entity.DoctorInfo;
 import com.diagbot.enums.IsDeleteEnum;
+import com.diagbot.exception.CommonErrorCode;
+import com.diagbot.exception.CommonException;
+import com.diagbot.service.impl.DoctorInfoServiceImpl;
+import com.diagbot.util.BeanUtil;
+import com.diagbot.vo.DoctorInfoVO;
 import com.diagbot.vo.HospitalCodeSetVO;
 import org.springframework.stereotype.Component;
 
-import com.diagbot.dto.DoctorInfoDTO;
-import com.diagbot.entity.DoctorInfo;
-import com.diagbot.service.impl.DoctorInfoServiceImpl;
-import com.diagbot.vo.DoctorInfoVO;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
 
 /**
  * @Description:
@@ -32,14 +34,15 @@ public class DoctorInfoFacade extends DoctorInfoServiceImpl {
         List<DoctorInfoDTO> doctorInfoDTOList = this.getDoctorInfos(doctorInfoVo.getDoctorCode(), doctorInfoVo.getHosptialCode(), doctorInfoVo.getDeptCode());
         return doctorInfoDTOList;
     }
-    
+
     /**
      * 根据ids获取医生信息map
+     *
      * @param ids 医生ids
      * @return 医生信息
      */
     public Map<Long, DoctorInfo> doctorInfoMapByIds(List<Long> ids) {
-    	Map<Long, DoctorInfo> doctorInfoMap
+        Map<Long, DoctorInfo> doctorInfoMap
                 = this.listByIds(ids).stream()
                 .filter(i -> i.getIsDeleted().equals(IsDeleteEnum.N.getKey()))
                 .collect(Collectors.toMap(DoctorInfo::getId, i -> i));
@@ -49,4 +52,16 @@ public class DoctorInfoFacade extends DoctorInfoServiceImpl {
     public DoctorInfoFindDTO findDoctorInfo(HospitalCodeSetVO hospitalCodeSetVO) {
         return this.baseMapper.findDoctorInfo(hospitalCodeSetVO);
     }
+
+
+    public DoctorInfoDTO getDoctorInfoById(Long id) {
+        DoctorInfo doctorInfo = this.getById(id);
+        if (null == doctorInfo
+                || doctorInfo.getIsDeleted().equals(IsDeleteEnum.Y.getKey())) {
+            throw new CommonException(CommonErrorCode.NOT_EXISTS, "该医生不存在!");
+        }
+        DoctorInfoDTO doctorInfoDTO = new DoctorInfoDTO();
+        BeanUtil.copyProperties(doctorInfo, doctorInfoDTO);
+        return doctorInfoDTO;
+    }
 }

+ 8 - 0
tran-service/src/main/java/com/diagbot/web/DoctorInfoController.java

@@ -60,4 +60,12 @@ public class DoctorInfoController {
         Map<Long, DoctorInfo> result = doctorInfoFacade.doctorInfoMapByIds(ids);
         return RespDTO.onSuc(result);
     }
+
+    @PostMapping(value = "/doctorInfoById")
+    @SysLogger("doctorInfoById")
+    @ApiOperation(value = "根据id获取医生信息[by:gaodm]")
+    @ApiIgnore
+    RespDTO<DoctorInfoDTO> getDoctorInfoById(@RequestBody Long id) {
+        return RespDTO.onSuc(doctorInfoFacade.getDoctorInfoById(id));
+    }
 }