|
@@ -5,9 +5,9 @@
|
|
|
<select id="loadPatientInfoById"
|
|
|
resultType="org.jeecg.modules.medical.common.bo.before.PatientInformationResponse">
|
|
|
SELECT
|
|
|
- ad.patient_id AS patientId, -- 患者编码
|
|
|
- ad.patient_name AS patientName, -- 患者姓名
|
|
|
- ad.gender AS gender, -- 性别
|
|
|
+ ad.patient_id , -- 患者编码
|
|
|
+ ad.patient_name , -- 患者姓名
|
|
|
+ p.gender AS gender, -- 性别
|
|
|
p.birthday AS birthday, -- 生日
|
|
|
"" AS age, -- 年龄
|
|
|
"" AS medicalInsurance, -- 是否医保(从主表查询)
|
|
@@ -23,8 +23,8 @@
|
|
|
<select id="beforeLoadPatientInfoById"
|
|
|
resultType="org.jeecg.modules.medical.common.bo.before.PatientInformationResponse">
|
|
|
SELECT
|
|
|
- ad.patient_id AS patientId, -- 患者编码
|
|
|
- ad.patient_name AS patientName, -- 患者姓名
|
|
|
+ ad.patient_id , -- 患者编码
|
|
|
+ ad.patient_name , -- 患者姓名
|
|
|
p.gender AS gender, -- 性别
|
|
|
p.birthday AS birthday, -- 生日
|
|
|
"" AS age, -- 年龄
|