|
@@ -14,6 +14,8 @@
|
|
mbi.doctor_name doctorName,
|
|
mbi.doctor_name doctorName,
|
|
mbi.behospital_date behospitalDate,
|
|
mbi.behospital_date behospitalDate,
|
|
mbi.leave_hospital_date leaveHospitalDate,
|
|
mbi.leave_hospital_date leaveHospitalDate,
|
|
|
|
+ mbi.doctor_id doctorId,
|
|
|
|
+ mbi.doctor_name doctorName,
|
|
mai.id,
|
|
mai.id,
|
|
mai.hospital_id hospitalId,
|
|
mai.hospital_id hospitalId,
|
|
mai.qcresult_detail_id qcresultDetailId,
|
|
mai.qcresult_detail_id qcresultDetailId,
|
|
@@ -32,11 +34,15 @@
|
|
mai.appeal_explain appealExplain,
|
|
mai.appeal_explain appealExplain,
|
|
mai.check_id checkId,
|
|
mai.check_id checkId,
|
|
mai.remark appealRemark,
|
|
mai.remark appealRemark,
|
|
|
|
+ mai.gmt_create appealCreateDate,
|
|
mae.example_status exampleStatus,
|
|
mae.example_status exampleStatus,
|
|
mae.example_operation exampleOperation,
|
|
mae.example_operation exampleOperation,
|
|
mae.process_result processResult,
|
|
mae.process_result processResult,
|
|
mae.reject_reason rejectReason,
|
|
mae.reject_reason rejectReason,
|
|
mae.remark exampleRemark,
|
|
mae.remark exampleRemark,
|
|
|
|
+ mae.gmt_create appealExamineDate,
|
|
|
|
+ mqd.msg,
|
|
|
|
+ mqd.score,
|
|
u.linkman claimantName,
|
|
u.linkman claimantName,
|
|
u2.linkman checkName
|
|
u2.linkman checkName
|
|
FROM
|
|
FROM
|
|
@@ -46,6 +52,7 @@
|
|
LEFT JOIN med_home_page mhp ON mbi.behospital_code = mhp.behospital_code
|
|
LEFT JOIN med_home_page mhp ON mbi.behospital_code = mhp.behospital_code
|
|
AND mhp.hospital_id = mbi.hospital_id
|
|
AND mhp.hospital_id = mbi.hospital_id
|
|
LEFT JOIN med_appeal_examine_info mae ON mai.id = mae.appeal_info_id
|
|
LEFT JOIN med_appeal_examine_info mae ON mai.id = mae.appeal_info_id
|
|
|
|
+ LEFT JOIN med_qcresult_detail mqd ON mai.qcresult_detail_id = mqd.id
|
|
LEFT JOIN sys_user u ON mai.claimant_id = u.id
|
|
LEFT JOIN sys_user u ON mai.claimant_id = u.id
|
|
LEFT JOIN sys_user u2 ON mai.check_id = u2.id
|
|
LEFT JOIN sys_user u2 ON mai.check_id = u2.id
|
|
WHERE 1=1
|
|
WHERE 1=1
|