From be43e890802f764590489d510cfc95f40eba5f47 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 23 四月 2026 11:19:54 +0800
Subject: [PATCH] 保存成功返回ID,姓名,上报人模糊查询
---
ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
index bc0be20..185951c 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
@@ -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