ソースを参照

搜索增加姓名和身份证关键字

huangwenjie 5 年 前
コミット
5284099585

+ 10 - 0
common/common-rest-model/src/main/java/com/yihu/jw/restmodel/specialist/PatientRelationVO.java

@ -23,6 +23,8 @@ public class PatientRelationVO {
    private String age;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("身份证")
    private String idcard;
    @ApiModelProperty("头像")
    private String photo;
    @ApiModelProperty("出院时间")
@ -111,4 +113,12 @@ public class PatientRelationVO {
    public void setHealthcode(String healthcode) {
        this.healthcode = healthcode;
    }
    
    public String getIdcard() {
        return idcard;
    }
    
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
}

+ 1 - 0
svr/svr-wlyy-specialist/src/main/java/com/yihu/jw/service/SpecialistService.java

@ -347,6 +347,7 @@ public class SpecialistService{
                " p.photo, " +
                " IFNULL(year( from_days( datediff( now(), p.birthday))),'未知') age, " +
                " p.sex ," +
                " p.idcard ," +
                " h.label_name as health, " +
                " h.label AS healthcode " +
                " FROM " +