From dcf411b7b5d4158139adf0337c3831fbff31b652 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 31 八月 2026 15:08:15 +0800
Subject: [PATCH] 【丽水】1、手术随访任务生成检索加条件:必须出院时间不为空的数据 2、手术随访任务生成不影响出院随访
---
smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
index c038d99..8f3df5b 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
@@ -514,6 +514,9 @@
</if>
<if test="inhospstate != null and inhospstate != ''">
and pmi.inhospstate = #{inhospstate}
+ <if test="inhospstate == '1'">
+ and pmi.endtime is not null
+ </if>
</if>
<if test="serialnum != null and serialnum != ''">
and pmo.serialnum = #{serialnum}
--
Gitblit v1.9.3