From 60ade5154522a042c816abaa1840751011ae0371 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 29 九月 2026 19:15:03 +0800
Subject: [PATCH] 1.省立同德满度问题处理 2.门急诊数据采集优化

---
 smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java b/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java
index d1aea55..889501e 100644
--- a/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java
+++ b/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java
@@ -1,7 +1,9 @@
 package com.smartor.service;
 
+import java.util.Collection;
 import java.util.Date;
 import java.util.List;
+import java.util.Set;
 
 import com.ruoyi.common.core.page.TableDataInfo;
 import com.smartor.domain.*;
@@ -37,6 +39,18 @@
      * @return 缁撴灉
      */
     public int insertPatMedOuthosp(PatMedOuthosp patMedOuthosp);
+
+    /**
+     * 鎵归噺鏌ヨ宸插叆搴撶殑 serialnum锛堝唴閮ㄦ寜灏辫瘖鏃ユ湡瀹氫綅鍒嗚〃锛屼竴娆� SQL 瀹屾垚锛�
+     * <p>
+     * 闂ㄦ�ヨ瘖鎸夊ぉ鍏ㄩ噺閲囬泦鏃讹紝姣忓崐灏忔椂浼氭妸褰撳ぉ涓婁竾涓瘖鐤楄褰曢噸鏂版媺涓�閬嶏紝
+     * 鐢ㄨ繖涓柟娉曚竴娆℃煡鍑哄凡缁忓叆搴撶殑锛岀洿鎺ヨ烦杩囷紝閬垮厤瀵归噸澶嶆暟鎹啀鍋氫竴閬嶆。妗堝鐞嗗拰鍏ュ簱
+     *
+     * @param admitDateStr 灏辫瘖鏃ユ湡 yyyy-MM-dd锛屼负绌烘垨瑙f瀽澶辫触鏃舵寜涓昏〃鏌ヨ
+     * @param serialnums   寰呮煡璇㈢殑璇婄枟璁板綍鍙烽泦鍚�
+     * @return 宸插瓨鍦ㄧ殑 serialnum 闆嗗悎
+     */
+    public Set<String> selectExistingSerialnums(String admitDateStr, Collection<String> serialnums);
 
     /**
      * 淇敼鎮h�呴棬璇婅褰�
@@ -83,7 +97,7 @@
      * @param patMedOuthosp
      * @return
      */
-    public Integer followUpAgainByPatMedOuthosp(PatMedOuthosp patMedOuthosp, Integer visitTimeNum);
+    public Integer followUpAgainByPatMedOuthosp(PatMedOuthosp patMedOuthosp, Integer visitTimeNum, List<Long> inhospids);
 
     /**
      * 闂ㄨ瘖璁板綍澶勭悊

--
Gitblit v1.9.3