From 0293e06edd011d6921ec2cc08392042f5765dfb8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 18 九月 2025 13:35:54 +0800
Subject: [PATCH] 日志修改
---
ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml
index 83c2ffa..a140cc0 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatecomporganMapper.xml
@@ -13,8 +13,8 @@
<result property="abandonreason" column="AbandonReason"/>
<result property="transplanttime" column="TransplantTime"/>
<result property="transplantdoct" column="TransplantDoct"/>
- <result property="transplanthospitalno" column="TransplantHospitalNo"/>
- <result property="transplanthospitalname" column="TransplantHospitalName"/>
+ <result property="hospitalno" column="HospitalNo"/>
+ <result property="hospitalname" column="HospitalName"/>
<result property="name" column="Name"/>
<result property="sex" column="Sex"/>
<result property="idcardtype" column="IDCardType"/>
@@ -40,6 +40,7 @@
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="caseno" column="caseno"/>
+ <result property="donorname" column="donorname"/>
</resultMap>
<sql id="selectServiceDonatecomporganVo">
@@ -51,8 +52,8 @@
AbandonReason,
TransplantTime,
TransplantDoct,
- TransplantHospitalNo,
- TransplantHospitalName,
+ HospitalNo,
+ HospitalName,
Name,
caseno,
Sex,
@@ -77,7 +78,8 @@
create_by,
create_time,
update_by,
- update_time
+ update_time,
+ donorname
from service_donatecomporgan
</sql>
@@ -92,11 +94,11 @@
<if test="abandonreason != null and abandonreason != ''">and AbandonReason = #{abandonreason}</if>
<if test="transplanttime != null ">and TransplantTime = #{transplanttime}</if>
<if test="transplantdoct != null and transplantdoct != ''">and TransplantDoct = #{transplantdoct}</if>
- <if test="transplanthospitalno != null and transplanthospitalno != ''">and TransplantHospitalNo =
- #{transplanthospitalno}
+ <if test="hospitalno != null and hospitalno != ''">and HospitalNo =
+ #{hospitalno}
</if>
- <if test="transplanthospitalname != null and transplanthospitalname != ''">and TransplantHospitalName like
- concat('%', #{transplanthospitalname}, '%')
+ <if test="hospitalname != null and hospitalname != ''">and HospitalName like
+ concat('%', #{hospitalname}, '%')
</if>
<if test="name != null and name != ''">and Name like concat('%', #{name}, '%')</if>
<if test="sex != null ">and Sex = #{sex}</if>
@@ -109,6 +111,8 @@
<if test="phone != null and phone != ''">and Phone = #{phone}</if>
<if test="residenceaddress != null and residenceaddress != ''">and ResidenceAddress = #{residenceaddress}
</if>
+ <if test="donorname != null and donorname != ''">and donorname = #{donorname}
+ </if>
<if test="residenceprovince != null and residenceprovince != ''">and ResidenceProvince =
#{residenceprovince}
</if>
--
Gitblit v1.9.3