From 3a8937f753ae22127557818158465fed83ca2916 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 03 九月 2026 10:38:27 +0800
Subject: [PATCH] 【丽水】手术随访调整
---
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