From d55ec23e72d5f0b4b9c8c95dacfe1b4f797abd7f Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 27 八月 2026 13:48:40 +0800
Subject: [PATCH] 【丽水】出院数据导入orgid无生效
---
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 2e203dc..c934332 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -185,6 +185,7 @@
<include refid="selectPatArchiveVo"/>
where 1=1
and del_flag = 0
+ <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if>
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
<if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if>
<if test="sourcefrom != null ">and sourcefrom = #{sourcefrom}</if>
--
Gitblit v1.9.3