From e06a9091653be33242a2840b7cef10af7b97fff4 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 06 二月 2026 15:35:46 +0800
Subject: [PATCH] 【丽水】首次再次随访人数调整
---
smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index c517013..610243b 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -1013,6 +1013,7 @@
where 1=1
and del_flag = 0
and service_type=2
+ and visit_count is not null
and visit_count = 1
<if test="orgid != null and orgid != ''">
and orgid = #{orgid}
@@ -1042,6 +1043,7 @@
where 1=1
and del_flag = 0
and service_type=2
+ and visit_count is not null
and visit_count > 1
<if test="orgid != null and orgid != ''">
and orgid = #{orgid}
--
Gitblit v1.9.3