From 4ce61befa59e589985ced69e72bc5f7faf9a313e Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 16 十月 2026 15:07:47 +0800
Subject: [PATCH] Changes
---
ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml
index ab03a42..f6ff6ea 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceMedicalevaluationMapper.xml
@@ -202,6 +202,7 @@
sb.TreatmentHospitalName,
sb.TreatmentHospitalNo,
sb.DonationCategory as donationcategory,
+ sb.InpatientNo AS inpatientno,
sb.DonorNo,
sb.case_no,
sb.Name,
@@ -221,9 +222,9 @@
sm.assess_state
FROM service_donatebaseinfo sb
LEFT JOIN service_medicalevaluation sm ON sb.ID = sm.InfoID and sm.del_flag = 0
- and sb.del_flag = 0 and sm.ID is not null
+ and sm.ID is not null
<where>
- sb.termination_case = 0
+ sb.termination_case = 0 and sb.del_flag = 0
<if test="infoid != null">AND sb.ID = #{infoid}</if>
<if test="inpatientno != null">AND sb.InpatientNo = #{inpatientno}</if>
<if test="currentMedicalInstitution != null">AND sb.current_medical_institution = #{currentMedicalInstitution}</if>
--
Gitblit v1.9.3