Browse Source

预问诊登录对接修改2

rengb 5 years ago
parent
commit
0e7fb1ad4d

+ 47 - 36
prec-service/src/main/java/com/diagbot/dto/SignInDTO.java

@@ -10,77 +10,88 @@ import lombok.Setter;
  * @author: rengb
  * @time: 2018/11/19 18:56
  */
-@ApiModel(value="患者登录接口出参")
+@ApiModel(value = "患者登录接口出参")
 @Getter
 @Setter
-public class SignInDTO{
-	
-	/**
+public class SignInDTO {
+
+    /**
      * 医院编码
      */
-	@ApiModelProperty(value="医院编码")
+    @ApiModelProperty(value = "医院编码")
     private String hospitalCode;
 
     /**
      * 医院名称
      */
-	@ApiModelProperty(value="医院名称")
+    @ApiModelProperty(value = "医院名称")
     private String hospitalName;
-	
-	/**
+
+    /**
+     * 子医院编号
+     */
+    @ApiModelProperty(value = "子医院编号")
+    private String sonHospitalCode;
+
+    /**
+     * 子医院名称
+     */
+    @ApiModelProperty(value = "子医院名称")
+    private String sonHospitalName;
+
+    /**
      * 医院科室编码
      */
-	@ApiModelProperty(value="医院科室编码")
+    @ApiModelProperty(value = "医院科室编码")
     private String hospitalDeptCode;
 
     /**
      * 医院科室名称
      */
-	@ApiModelProperty(value="医院科室名称")
+    @ApiModelProperty(value = "医院科室名称")
     private String hospitalDeptName;
-	
-	/**
+
+    /**
      * 医生编码
      */
-	@ApiModelProperty(value="医生编码")
+    @ApiModelProperty(value = "医生编码")
     private String doctorCode;
 
     /**
      * 医生姓名
      */
-	@ApiModelProperty(value="医生姓名")
+    @ApiModelProperty(value = "医生姓名")
     private String doctorName;
-	
-	/**
+
+    /**
      * 病人编号
      */
-	@ApiModelProperty(value="病人编号")
+    @ApiModelProperty(value = "病人编号")
     private String patientCode;
-	
-	/**
+
+    /**
      * 病人姓名
      */
-	@ApiModelProperty(value="病人姓名")
+    @ApiModelProperty(value = "病人姓名")
     private String patientName;
-	
-	/**
-	 * 挂号时间
-	 */
-	@ApiModelProperty(value="挂号时间")
-	private String recordTime;
-	
-	/**
+
+    /**
+     * 挂号时间
+     */
+    @ApiModelProperty(value = "挂号时间")
+    private String recordTime;
+
+    /**
      * 就诊号
      */
-	@ApiModelProperty(value="就诊号")
-	private String recordId;
-	
-	/**
+    @ApiModelProperty(value = "就诊号")
+    private String recordId;
+
+    /**
      * 挂号信息
      */
-	@ApiModelProperty(value="挂号信息")
-	private String registerNum;
-	
+    @ApiModelProperty(value = "挂号信息")
+    private String registerNum;
+
 
-		
 }

+ 20 - 2
prec-service/src/main/java/com/diagbot/vo/SignInVO.java

@@ -1,12 +1,12 @@
 package com.diagbot.vo;
 
-import javax.validation.constraints.NotBlank;
-
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Getter;
 import lombok.Setter;
 
+import javax.validation.constraints.NotBlank;
+
 /**
  * @Description:
  * @author: rengb
@@ -23,6 +23,24 @@ public class SignInVO {
 	@ApiModelProperty(value="医院编号",required=true)
 	@NotBlank(message="医院编号必填")
 	private String hospitalCode;
+
+	/**
+	 * 医院名称
+	 */
+	@ApiModelProperty(value="医院名称")
+	private String hospitalName;
+
+	/**
+	 * 子医院编号
+	 */
+	@ApiModelProperty(value="子医院编号")
+	private String sonHospitalCode;
+
+	/**
+	 * 子医院名称
+	 */
+	@ApiModelProperty(value="子医院名称")
+	private String sonHospitalName;
 	
 	/**
      * 患者信息类型,101-身份证、102-病历号、103-手机号、104-市民卡卡号

+ 48 - 0
tran-service/src/main/java/com/diagbot/dto/RegisterInfoDTO.java

@@ -0,0 +1,48 @@
+package com.diagbot.dto;
+
+import com.diagbot.entity.PatientInfo;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.List;
+
+/**
+ * @Description: 对接-医院返回挂号信息
+ * @author: rengb
+ * @time: 2018/11/19 18:56
+ */
+@Getter
+@Setter
+public class RegisterInfoDTO {
+
+	/**
+	 * 医院编号
+	 */
+	private String hospitalCode;
+
+	/**
+	 * 医院名称
+	 */
+	private String hospitalName;
+
+	/**
+	 * 子医院编号
+	 */
+	private String sonHospitalCode;
+
+	/**
+	 * 子医院名称
+	 */
+	private String sonHospitalName;
+
+	/**
+	 * 病人信息
+	 */
+	private PatientInfo patientInfo;
+
+	/**
+	 * 详情
+	 */
+	private List<RegisterInfoDetailDTO> detail;
+		
+}

+ 46 - 0
tran-service/src/main/java/com/diagbot/dto/RegisterInfoDetailDTO.java

@@ -0,0 +1,46 @@
+package com.diagbot.dto;
+
+import com.diagbot.entity.DoctorInfo;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * @Description: 对接-医院返回挂号信息-详情
+ * @author: rengb
+ * @time: 2019/11/20 9:57
+ */
+@Getter
+@Setter
+public class RegisterInfoDetailDTO {
+
+    /**
+     * 医院科室编码
+     */
+    private String hospitalDeptCode;
+
+    /**
+     * 医院科室名称
+     */
+    private String hospitalDeptName;
+
+    /**
+     * 医生信息
+     */
+    private DoctorInfo doctorInfo;
+
+    /**
+     * 挂号时间
+     */
+    private String recordTime;
+
+    /**
+     * 就诊号
+     */
+    private String recordId;
+
+    /**
+     * 挂号信息
+     */
+    private String registerNum;
+
+}

+ 55 - 45
tran-service/src/main/java/com/diagbot/dto/SignInDTO.java

@@ -1,6 +1,5 @@
 package com.diagbot.dto;
 
-import io.swagger.annotations.ApiModel;
 import lombok.Getter;
 import lombok.Setter;
 
@@ -9,12 +8,11 @@ import lombok.Setter;
  * @author: rengb
  * @time: 2018/11/19 18:56
  */
-@ApiModel(value="患者登录接口出参")
 @Getter
 @Setter
-public class SignInDTO{
-	
-	/**
+public class SignInDTO {
+
+    /**
      * 医院编码
      */
     private String hospitalCode;
@@ -23,8 +21,18 @@ public class SignInDTO{
      * 医院名称
      */
     private String hospitalName;
-	
-	/**
+
+    /**
+     * 子医院编号
+     */
+    private String sonHospitalCode;
+
+    /**
+     * 子医院名称
+     */
+    private String sonHospitalName;
+
+    /**
      * 医院科室编码
      */
     private String hospitalDeptCode;
@@ -33,8 +41,8 @@ public class SignInDTO{
      * 医院科室名称
      */
     private String hospitalDeptName;
-	
-	/**
+
+    /**
      * 医生编码
      */
     private String doctorCode;
@@ -43,50 +51,52 @@ public class SignInDTO{
      * 医生姓名
      */
     private String doctorName;
-	
-	/**
+
+    /**
      * 病人编号
      */
     private String patientCode;
-	
-	/**
+
+    /**
      * 病人姓名
      */
     private String patientName;
-	
-	/**
-	 * 挂号时间
-	 */
-	private String recordTime;
-	
-	/**
+
+    /**
+     * 挂号时间
+     */
+    private String recordTime;
+
+    /**
      * 就诊号
      */
-	private String recordId;
-	
-	/**
+    private String recordId;
+
+    /**
      * 挂号信息
      */
-	private String registerNum;
-
-	public SignInDTO(String hospitalCode, String hospitalName, String hospitalDeptCode, String hospitalDeptName,
-			String doctorCode, String doctorName, String patientCode, String patientName, String recordTime,
-			String recordId, String registerNum) {
-		this.hospitalCode = hospitalCode;
-		this.hospitalName = hospitalName;
-		this.hospitalDeptCode = hospitalDeptCode;
-		this.hospitalDeptName = hospitalDeptName;
-		this.doctorCode = doctorCode;
-		this.doctorName = doctorName;
-		this.patientCode = patientCode;
-		this.patientName = patientName;
-		this.recordTime = recordTime;
-		this.recordId = recordId;
-		this.registerNum = registerNum;
-	}
-	
-	
-	
-
-		
+    private String registerNum;
+
+    public SignInDTO() {
+
+    }
+
+    public SignInDTO(String hospitalCode, String hospitalName, String sonHospitalCode, String sonHospitalName,
+                     String hospitalDeptCode, String hospitalDeptName, String doctorCode, String doctorName,
+                     String patientCode, String patientName, String recordTime, String recordId, String registerNum) {
+        this.hospitalCode = hospitalCode;
+        this.hospitalName = hospitalName;
+        this.sonHospitalCode = sonHospitalCode;
+        this.sonHospitalName = sonHospitalName;
+        this.hospitalDeptCode = hospitalDeptCode;
+        this.hospitalDeptName = hospitalDeptName;
+        this.doctorCode = doctorCode;
+        this.doctorName = doctorName;
+        this.patientCode = patientCode;
+        this.patientName = patientName;
+        this.recordTime = recordTime;
+        this.recordId = recordId;
+        this.registerNum = registerNum;
+    }
+
 }

+ 230 - 21
tran-service/src/main/java/com/diagbot/facade/PatientInfoFacade.java

@@ -1,19 +1,33 @@
 package com.diagbot.facade;
 
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.diagbot.dto.GetTopPatientInfoDTO;
 import com.diagbot.dto.PatientInfoDTO;
+import com.diagbot.dto.RegisterInfoDTO;
 import com.diagbot.dto.SignInDTO;
+import com.diagbot.entity.DoctorInfo;
+import com.diagbot.entity.HospitalDept;
 import com.diagbot.entity.PatientInfo;
+import com.diagbot.entity.SysSet;
+import com.diagbot.enums.VisibleIdTypeEnum;
+import com.diagbot.idc.VisibleIdCreater;
+import com.diagbot.service.DoctorInfoService;
+import com.diagbot.service.HospitalDeptService;
 import com.diagbot.service.impl.PatientInfoServiceImpl;
+import com.diagbot.util.BeanUtil;
 import com.diagbot.util.DateUtil;
+import com.diagbot.util.IdCard;
+import com.diagbot.util.ListUtil;
+import com.diagbot.util.StringUtil;
 import com.diagbot.vo.GetTopPatientInfoVO;
 import com.diagbot.vo.PatientInfoVO;
 import com.diagbot.vo.SignInVO;
 import com.google.common.collect.Lists;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.stereotype.Component;
 import org.springframework.web.bind.annotation.RequestBody;
 
-import java.util.Date;
 import java.util.List;
 import java.util.Map;
 import java.util.stream.Collectors;
@@ -28,8 +42,18 @@ public class PatientInfoFacade extends PatientInfoServiceImpl {
 
     /*@Autowired
     private DoctorPageModeFacade doctorPageModeFacade;*/
-    /*@Autowired
-    private DeptInfoFacade deptInfoFacade;*/
+    @Autowired
+    private HospitalDeptFacade hospitalDeptFacade;
+    @Autowired
+    @Qualifier("hospitalDeptServiceImpl")
+    private HospitalDeptService hospitalDeptService;
+    @Autowired
+    private DoctorInfoFacade doctorInfoFacade;
+    @Autowired
+    @Qualifier("doctorInfoServiceImpl")
+    private DoctorInfoService doctorInfoService;
+    @Autowired
+    private SysSetFacade sysSetFacade;
 
     /**
      * 获取患者信息
@@ -76,26 +100,211 @@ public class PatientInfoFacade extends PatientInfoServiceImpl {
      * @return
      */
     public List<SignInDTO> signIn(SignInVO signInVO) {
-        String time = DateUtil.formatDateTime(new Date());
-        List<SignInDTO> list = Lists.newArrayList();
-        list.add(new SignInDTO("A001", "浙江大学医学院附属邵逸夫医院",
-                "D01", "全科", "YS001", "付医生",
-                "1600", "王明明", time, "4468352", "15"));
-        list.add(new SignInDTO("A001", "浙江大学医学院附属邵逸夫医院",
-                "D02", "儿科", "YS001", "付医生",
-                "1600", "王明明", time, "4468352", "18"));
-        if (signInVO.getPatientInfoType().equals("101")) {
-            if (signInVO.getPatientInfo().equals("10123439991230120X")) {
-                list.remove(1);
-            } else if (signInVO.getPatientInfo().equals("666666180002301234")) {
-                list.clear();
-            } else if (signInVO.getPatientInfo().equals("100000201901010000")) {
-                return null;
-            }
+        List<SignInDTO> retList = null;
+
+        QueryWrapper<SysSet> sysSetQe = new QueryWrapper<>();
+        sysSetQe.eq("hospital_code", signInVO.getHospitalCode());
+        sysSetQe.eq("sys_type", 17);
+        sysSetQe.and(i -> i.eq("code", "patientinfo").or().eq("code", "junior_hospital"));
+        Map<String, String> sysSetCodeValue = sysSetFacade.list(sysSetQe).stream()
+                .collect(Collectors.toMap(SysSet::getCode, i -> i.getValue()));
+
+        RegisterInfoDTO rif = getRegisterInfo(signInVO);
+        if (rif != null) {
+            generateByRif(rif, StringUtil.isNotBlank(sysSetCodeValue.get("junior_hospital")));
+            retList = rifConverSin(rif);
+        } else if (signInVO.getPatientInfoType().equals("101")
+                && StringUtil.isNotBlank(sysSetCodeValue.get("patientinfo"))
+                && sysSetCodeValue.get("patientinfo").equals("1")) {
+            retList = autoGenePatinfo(signInVO);
+        }
+
+        return retList;
+    }
+
+    /**
+     * 自动生成患者信息
+     *
+     * @param signInVO
+     * @return
+     */
+    private List<SignInDTO> autoGenePatinfo(SignInVO signInVO) {
+        List<SignInDTO> retList = Lists.newArrayList();
+        SignInDTO signInDTO = new SignInDTO();
+        signInDTO.setHospitalCode(signInVO.getHospitalCode());
+        signInDTO.setHospitalName(signInVO.getHospitalName());
+        signInDTO.setSonHospitalCode(signInVO.getSonHospitalCode());
+        signInDTO.setSonHospitalName(signInVO.getSonHospitalName());
+
+        QueryWrapper<PatientInfo> patientInfoQe = new QueryWrapper<>();
+        patientInfoQe.eq("id_no", signInVO.getPatientInfo());
+        patientInfoQe.eq("name", signInVO.getPatientName());
+        PatientInfo patientInfo = getOne(patientInfoQe, true);
+        if (patientInfo == null) {
+            patientInfo = new PatientInfo();
+            patientInfo.setSex(IdCard.getGenderByIdCard(signInVO.getPatientInfo()));
+            patientInfo.setBirthday(DateUtil.parseDate(IdCard.getBirthByIdCard(signInVO.getPatientInfo()), "yyyyMMdd"));
+
+            VisibleIdCreater visibleIdCreater = new VisibleIdCreater(0, 0);
+            patientInfo.setCode("" + visibleIdCreater.getNextId(VisibleIdTypeEnum.PATIENT_NO.getKey()));
+            patientInfo.setRemark("1");//自动生成标志
+
+            save(patientInfo);
+        }
+        signInDTO.setPatientCode(patientInfo.getCode());
+        signInDTO.setPatientName(patientInfo.getName());
+
+        retList.add(signInDTO);
+        return retList;
+    }
+
+    /**
+     * his返回的挂号信息转化给前端
+     *
+     * @param rif
+     * @return
+     */
+    private List<SignInDTO> rifConverSin(RegisterInfoDTO rif) {
+        List<SignInDTO> retList = Lists.newArrayList();
+        rif.getDetail().forEach(i -> {
+            SignInDTO signInDTO = new SignInDTO(
+                    rif.getHospitalCode(),
+                    rif.getHospitalName(),
+                    rif.getSonHospitalCode(),
+                    rif.getSonHospitalName(),
+                    i.getHospitalDeptCode(),
+                    i.getHospitalDeptName(),
+                    i.getDoctorInfo().getCode(),
+                    i.getDoctorInfo().getName(),
+                    rif.getPatientInfo().getCode(),
+                    rif.getPatientInfo().getName(),
+                    i.getRecordTime(),
+                    i.getRecordId(),
+                    i.getRegisterNum()
+            );
+            retList.add(signInDTO);
+        });
+        return retList;
+    }
+
+    /**
+     * 由挂号信息检查病人科室医生信息,有更新,无插入
+     *
+     * @param rif
+     * @param isHason 是否有子医院
+     */
+    private void generateByRif(RegisterInfoDTO rif, boolean isHason) {
+        String hospitalCode = rif.getHospitalCode();
+        String hospitalName = rif.getHospitalName();
+        String sonHospitalCode = rif.getSonHospitalCode();
+        String sonHospitalName = rif.getSonHospitalName();
+
+        PatientInfo patientInfo = rif.getPatientInfo();
+        QueryWrapper<PatientInfo> patientInfoQe = new QueryWrapper<>();
+        patientInfoQe.eq("hospital_code", hospitalCode);
+        patientInfoQe.eq("code", patientInfo.getCode());
+        PatientInfo patientInfoQuery = getOne(patientInfoQe, true);
+        if (patientInfoQuery == null) {
+            patientInfo.setHospitalCode(hospitalCode);
+            save(patientInfo);
+        } else {
+            BeanUtil.copyProperties(patientInfo, patientInfoQuery);
+            updateById(patientInfoQuery);
+        }
+
+        List<String> deptCodeList = rif.getDetail().stream()
+                .filter(i -> StringUtil.isNotBlank(i.getHospitalDeptCode()) && StringUtil.isNotBlank(i.getHospitalDeptName()))
+                .map(i -> i.getHospitalDeptCode())
+                .collect(Collectors.toList());
+        QueryWrapper<HospitalDept> hospitalDeptQe = new QueryWrapper<>();
+        hospitalDeptQe.eq("hospital_code", isHason ? sonHospitalCode : hospitalCode);
+        hospitalDeptQe.in("code", deptCodeList);
+        Map<String, HospitalDept> deptMap = hospitalDeptFacade.list(hospitalDeptQe)
+                .stream()
+                .collect(Collectors.toMap(HospitalDept::getCode, i -> i));
+        List<HospitalDept> deptSaveOrUpdateList = Lists.newArrayList();
+        rif.getDetail().stream()
+                .filter(i -> StringUtil.isNotBlank(i.getHospitalDeptCode()) && StringUtil.isNotBlank(i.getHospitalDeptName()))
+                .forEach(i -> {
+                    HospitalDept hospitalDeptQuery = deptMap.get(i.getHospitalDeptCode());
+                    if (hospitalDeptQuery == null) {
+                        HospitalDept hospitalDept = new HospitalDept();
+                        hospitalDept.setHospitalCode(isHason ? sonHospitalCode : hospitalCode);
+                        hospitalDept.setHospitalName(isHason ? sonHospitalName : hospitalName);
+                        hospitalDept.setCode(i.getHospitalDeptCode());
+                        hospitalDept.setName(i.getHospitalDeptName());
+                        hospitalDept.setconceptDeptName("全科");
+                        deptSaveOrUpdateList.add(hospitalDept);
+                    } else {
+                        hospitalDeptQuery.setName(i.getHospitalDeptName());
+                        deptSaveOrUpdateList.add(hospitalDeptQuery);
+                    }
+                });
+        if (ListUtil.isNotEmpty(deptSaveOrUpdateList)) {
+            hospitalDeptService.saveBatch(deptSaveOrUpdateList);
         }
 
-        return list;
+        List<String> doctorCodeList = rif.getDetail().stream()
+                .filter(i -> i.getDoctorInfo() != null).map(i -> i.getDoctorInfo())
+                .filter(i -> StringUtil.isNotBlank(i.getCode()) && StringUtil.isNotBlank(i.getName()))
+                .map(i -> i.getCode()).collect(Collectors.toList());
+        QueryWrapper<DoctorInfo> doctorInfoQe = new QueryWrapper<>();
+        doctorInfoQe.eq("hospital_code", hospitalCode);
+        doctorInfoQe.in("code", doctorCodeList);
+        Map<String, DoctorInfo> doctorMap = doctorInfoFacade.list(doctorInfoQe)
+                .stream().collect(Collectors.toMap(DoctorInfo::getCode, i -> i));
+        List<DoctorInfo> doctorSaveOrUpdateList = Lists.newArrayList();
+        rif.getDetail().stream()
+                .filter(i -> i.getDoctorInfo() != null).map(i -> i.getDoctorInfo())
+                .filter(i -> StringUtil.isNotBlank(i.getCode()) && StringUtil.isNotBlank(i.getName()))
+                .forEach(i -> {
+                    DoctorInfo doctorInfo = new DoctorInfo();
+                    DoctorInfo doctorInfoQuery = doctorMap.get(i.getCode());
+                    if (doctorInfoQuery == null) {
+                        BeanUtil.copyProperties(i, doctorInfo);
+                        doctorInfo.setHospitalCode(hospitalCode);
+                    } else {
+                        BeanUtil.copyProperties(doctorInfoQuery, doctorInfo);
+                        BeanUtil.copyProperties(i, doctorInfo);
+                    }
+                    doctorSaveOrUpdateList.add(doctorInfo);
+                });
+        if (ListUtil.isNotEmpty(doctorSaveOrUpdateList)) {
+            doctorInfoService.saveOrUpdateBatch(doctorSaveOrUpdateList);
+        }
     }
 
+    /**
+     * 对接---获取挂号信息
+     * 某一时刻患者只可能在一家医院,所以获取到的挂号信息只能是当前医院的,当出现江干的大小医院情况时可采用2种:
+     * 1、预问诊必须选择小医院,对方接口小医院要求必传;2、his返回时间最近的一家医院挂号信息(可能不准确)。
+     * 大小医院信息使用his返回来的(未选择小医院时有用)
+     *
+     * @param signInVO
+     * @return
+     */
+    private RegisterInfoDTO getRegisterInfo(SignInVO signInVO) {
+        //        String time = DateUtil.formatDateTime(new Date());
+        //        List<SignInDTO> list = Lists.newArrayList();
+        //        list.add(new SignInDTO("A001", "浙江大学医学院附属邵逸夫医院",
+        //                "D01", "全科", "YS001", "付医生",
+        //                "1600", "王明明", time, "4468352", "15"));
+        //        list.add(new SignInDTO("A001", "浙江大学医学院附属邵逸夫医院",
+        //                "D02", "儿科", "YS001", "付医生",
+        //                "1600", "王明明", time, "4468352", "18"));
+        //        if (signInVO.getPatientInfoType().equals("101")) {
+        //            if (signInVO.getPatientInfo().equals("10123439991230120X")) {
+        //                list.remove(1);
+        //            } else if (signInVO.getPatientInfo().equals("666666180002301234")) {
+        //                list.clear();
+        //            } else if (signInVO.getPatientInfo().equals("100000201901010000")) {
+        //                return null;
+        //            }
+        //        }
+
+        RegisterInfoDTO registerInfoDTO = new RegisterInfoDTO();
+
+        return null;
+    }
 
-}
+}

+ 15 - 2
tran-service/src/main/java/com/diagbot/vo/SignInVO.java

@@ -1,6 +1,5 @@
 package com.diagbot.vo;
 
-import io.swagger.annotations.ApiModel;
 import lombok.Getter;
 import lombok.Setter;
 
@@ -9,7 +8,6 @@ import lombok.Setter;
  * @author: rengb
  * @time: 2018/11/19 18:58
  */
-@ApiModel(value="患者登录接口传参")
 @Getter
 @Setter
 public class SignInVO {
@@ -18,6 +16,21 @@ public class SignInVO {
 	 * 医院编号
 	 */
 	private String hospitalCode;
+
+	/**
+	 * 医院名称
+	 */
+	private String hospitalName;
+
+	/**
+	 * 子医院编号
+	 */
+	private String sonHospitalCode;
+
+	/**
+	 * 子医院名称
+	 */
+	private String sonHospitalName;
 	
 	/**
      * 患者信息类型,101-身份证、102-病历号、103-手机号、104-市民卡卡号

+ 3 - 1
tran-service/src/main/java/com/diagbot/web/PatientInfoController.java

@@ -73,7 +73,9 @@ public class PatientInfoController {
         return RespDTO.onSuc(result);
     }
 
-    @ApiOperation(value = "患者登录[by:rengb]")
+    /**
+     * 患者登录[by:rengb]
+     */
     @PostMapping("/signIn")
     @SysLogger("signIn")
     public RespDTO<List<SignInDTO>> signIn(@RequestBody SignInVO signInVO) {