From a9d818a56ba203bfc232aed8014d6050ac9004d7 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 21 四月 2026 17:55:39 +0800
Subject: [PATCH] 用户信息新增机构ID和机构名称
---
ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
index ece63f0..d78ec28 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
@@ -315,7 +315,7 @@
#{treatmenthospitalname}
</if>
<if test="name != null and name != ''">AND sd.Name = #{name}</if>
- <if test="inpatientno != null ">AND sd.InpatientNo = #{inpatientno}</if>
+ <if test="inpatientno != null and inpatientno != ''">AND sd.InpatientNo = #{inpatientno}</if>
<if test="responsibleusername != null and responsibleusername != ''">AND sd.ResponsibleUserName =
#{responsibleusername}
</if>
@@ -333,6 +333,7 @@
and sr.SignDate <= #{endSigndate}
</if>
</where>
+ order by sr.id desc,sd.id desc
<if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
</select>
--
Gitblit v1.9.3