From 33e1839c6214ad72cc5a76ae254ce0bb542e9263 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 10 十月 2026 09:31:11 +0800
Subject: [PATCH] 提交
---
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