From af9eeec3590806f1e699511be33c892721defc49 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期五, 24 四月 2026 09:26:28 +0800
Subject: [PATCH] 捐献确认基本信息集合协调员2字段错
---
ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
index a7355d1..185951c 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
@@ -242,7 +242,7 @@
</where>
order by ReportTime desc
-
+ <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
</select>
<select id="getDonateNumberById" resultType="java.lang.String">
@@ -463,7 +463,7 @@
<where>sd.del_flag = 0
<if test="terminationCase != null ">AND sd.termination_case = #{terminationCase}</if>
<if test="treatmentHospitalName != null ">AND sd.TreatmentHospitalName = #{treatmentHospitalName}</if>
- <if test="name != null ">AND sd.Name = #{name}</if>
+ <if test="name != null ">AND sd.Name like concat('%', #{name}, '%')</if>
<if test="inpatientNo != null ">AND sd.InpatientNo = #{inpatientNo}</if>
<if test="startAge != null">AND sd.age >= #{startAge}</if>
<if test="endAge !=null">AND sd.age <= #{endAge}
--
Gitblit v1.9.3