From 533ffe54ffc7f0f39b9df8f7d99fee4880b50952 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期五, 24 四月 2026 09:20:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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 &gt;= #{startAge}</if>
             <if test="endAge !=null">AND sd.age &lt;= #{endAge}

--
Gitblit v1.9.3