患者信息展示医院信息

master
gongzhenkun 2 years ago
parent ed9f5d64d9
commit b203248251

@ -97,9 +97,32 @@ public class PcTPatientQueryByPageResp {
@ApiModelProperty("诊断医生")
@Excel(name = "诊断医生")
private String doctorName;
//
//
// List<TRecord> recordList;
/** 医院ID */
@ApiModelProperty("医院ID")
@Excel(name = "医院ID")
private Long hospitalId;
/** 医院名称 */
@ApiModelProperty("医院名称")
@Excel(name = "医院名称")
private String hospitalName;
public Long getHospitalId() {
return hospitalId;
}
public void setHospitalId(Long hospitalId) {
this.hospitalId = hospitalId;
}
public String getHospitalName() {
return hospitalName;
}
public void setHospitalName(String hospitalName) {
this.hospitalName = hospitalName;
}
public Long getId() {
return id;

@ -144,6 +144,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.create_time as createTime,
a.update_time as updateTime,
a.del_flag as delFlag,
c.id AS hospitalId,
c.`name` AS hospitalName,
d.`name` as doctorName
from t_patient a left join t_patient_hospital_doctor b on a.id = b.patient_id
left join t_hospital c on b.hospital_id = c.id

Loading…
Cancel
Save