@ -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;
@ -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 " +