From c771ba20bf45ebc7be74ebe3ee7f76fb159e7ed3 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 04 十一月 2026 14:37:58 +0800
Subject: [PATCH] 【丽水】填充手术随访 serviceSubtask.leaveDiagname
---
smartor/src/main/resources/mapper/smartor/PatSpecificArchiveGenerateConfigMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatSpecificArchiveGenerateConfigMapper.xml b/smartor/src/main/resources/mapper/smartor/PatSpecificArchiveGenerateConfigMapper.xml
index 9e35f07..a96dc68 100644
--- a/smartor/src/main/resources/mapper/smartor/PatSpecificArchiveGenerateConfigMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatSpecificArchiveGenerateConfigMapper.xml
@@ -57,6 +57,14 @@
</if>
</select>
+ <select id="selectEffectivePatSpecificArchiveGenerateConfigList" resultMap="PatSpecificArchiveGenerateConfigResult">
+ <include refid="selectPatSpecificArchiveGenerateConfigVo"/>
+ where del_flag = '0'
+ and (orgid = #{orgid} or orgid is null or orgid = '')
+ and (campusid is null or campusid = '' or campusid = #{campusid})
+ order by case when orgid = #{orgid} then 0 else 1 end, id asc
+ </select>
+
<select id="selectPatSpecificArchiveGenerateConfigById" parameterType="Long" resultMap="PatSpecificArchiveGenerateConfigResult">
<include refid="selectPatSpecificArchiveGenerateConfigVo"/>
where id = #{id}
--
Gitblit v1.9.3