From 73f5b82df781d2b061ba24d29182f6898b5535d9 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期日, 28 十二月 2025 14:34:04 +0800
Subject: [PATCH] 代码提交
---
ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoReportMapper.xml | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoReportMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoReportMapper.xml
index 6c29c1e..3b10545 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoReportMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoReportMapper.xml
@@ -43,8 +43,6 @@
<result property="infectious" column="Infectious"/>
<result property="infectiousOther" column="Infectious_Other"/>
<result property="patientstate" column="PatientState"/>
- <result property="reporterno" column="ReporterNo"/>
- <result property="reportername" column="ReporterName"/>
<result property="reporterphone" column="ReporterPhone"/>
<result property="reporttime" column="ReportTime"/>
<result property="delFlag" column="del_flag"/>
@@ -58,14 +56,26 @@
<result property="deptName" column="dept_name"/>
<result property="deptNo" column="dept_no"/>
<result property="isTransport" column="is_transport"/>
- <result property="gscScore" column="gsc_score"/>
+ <result property="gcsScore" column="gcs_score"/>
+ <result property="rhYin" column="rh_yin"/>
+ <result property="bloodType" column="blood_type"/>
+ <result property="coordinatorName" column="coordinator_name"/>
+ <result property="coordinatorNo" column="coordinator_no"/>
+ <result property="infoName" column="info_name"/>
+ <result property="infoNo" column="info_no"/>
</resultMap>
<sql id="selectServiceDonatebaseinfoReportVo">
select ID,
case_no,
+ coordinator_name,
+ coordinator_no,
+ info_name,
+ info_no,
+ blood_type,
+ rh_yin,
report_status,
- gsc_score,
+ gcs_score,
Name,
Sex,
IDCardType,
@@ -101,8 +111,6 @@
Infectious,
Infectious_Other,
PatientState,
- ReporterNo,
- ReporterName,
ReporterPhone,
ReportTime,
del_flag,
@@ -125,7 +133,11 @@
<include refid="selectServiceDonatebaseinfoReportVo"/>
<where>
<if test="caseNo != null and caseNo != ''">and case_no = #{caseNo}</if>
- <if test="gscScore != null and gscScore != ''">and gsc_score = #{gscScore}</if>
+ <if test="coordinatorName != null ">and coordinator_name like concat('%', #{coordinatorName}, '%')</if>
+ <if test="coordinatorNo != null ">and coordinator_no = #{coordinatorNo}</if>
+ <if test="infoName != null ">and info_name like concat('%', #{infoName}, '%')</if>
+ <if test="infoNo != null ">and info_no = #{infoNo}</if>
+ <if test="gcsScore != null and gcsScore != ''">and gcs_score = #{gcsScore}</if>
<if test="reportStatus != null and reportStatus != ''">and report_status = #{reportStatus}</if>
<if test="name != null and name != ''">and Name like concat('%', #{name}, '%')</if>
<if test="sex != null and sex != ''">and Sex = #{sex}</if>
@@ -192,10 +204,6 @@
<if test="infectious != null and infectious != ''">and Infectious = #{infectious}</if>
<if test="infectiousOther != null and infectiousOther != ''">and Infectious_Other = #{infectiousOther}</if>
<if test="patientstate != null and patientstate != ''">and PatientState = #{patientstate}</if>
- <if test="reporterno != null and reporterno != ''">and ReporterNo = #{reporterno}</if>
- <if test="reportername != null and reportername != ''">and ReporterName like concat('%', #{reportername},
- '%')
- </if>
<if test="reporterphone != null and reporterphone != ''">and ReporterPhone = #{reporterphone}</if>
<if test="reporttime != null ">and ReportTime = #{reporttime}</if>
<if test="terminationCase != null ">and termination_case = #{terminationCase}</if>
@@ -204,6 +212,8 @@
<if test="deptNo != null and deptNo != ''">and dept_no = #{deptNo}</if>
<if test="deptName != null and deptName != ''">and dept_name = #{deptName}</if>
<if test="isTransport != null and isTransport != ''">and is_transport = #{isTransport}</if>
+ <if test="rhYin != null and rhYin != ''">and rh_yin = #{rhYin}</if>
+ <if test="bloodType != null and bloodType != ''">and blood_type = #{bloodType}</if>
</where>
</select>
--
Gitblit v1.9.3