From e444243ca81f28c69a5c0a79ec77689ce6f6ee52 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 06 二月 2026 15:03:12 +0800
Subject: [PATCH] 【丽水】新增科室用户信息接口输入

---
 smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
index 5e0594e..f9abd3e 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -1013,7 +1013,7 @@
         where 1=1
         and del_flag = 0
         and service_type=2
-        and is_visit_again = 0
+        and visit_count = 1
         <if test="orgid != null and orgid != ''">
             and orgid = #{orgid}
         </if>
@@ -1042,7 +1042,8 @@
         where 1=1
         and del_flag = 0
         and service_type=2
-        and is_visit_again = 1
+
+        and visit_count > 1
         <if test="orgid != null and orgid != ''">
             and orgid = #{orgid}
         </if>

--
Gitblit v1.9.3