From 3d047130b059efd46f56be37465a751ab16ee8cb Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 11 十一月 2026 14:06:56 +0800
Subject: [PATCH] Merge branch 'smartor_ls_merge' into 20261111-妇幼档案随访

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

diff --git a/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java b/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java
new file mode 100644
index 0000000..d6d891a
--- /dev/null
+++ b/smartor/src/main/java/com/smartor/service/IPatMedOuthospService.java
@@ -0,0 +1,68 @@
+package com.smartor.service;
+
+import com.ruoyi.outpatientvisit.domain.PatMedOuthosp;
+
+import java.util.Collection;
+import java.util.Set;
+
+/**
+ * 鎮h�呴棬璇婅褰� Service 鈥斺�� <b>杩囨浮鎺ュ彛锛堟鍦ㄦ敹鍙o級</b>銆�
+ *
+ * <h3>鈿狅笍 鏈帴鍙g殑澶ч儴鍒嗘柟娉曞凡涓嶅湪鏈ā鍧楀疄鐜�</h3>
+ * 闂ㄦ�ヨ瘖闅忚妯″潡鍖栵紙O2~O4锛夊凡鎶婇棬璇婅褰曠殑鏈嶅姟绔兘鍔涙暣浣撹縼鍏�
+ * {@code ruoyi-outpatientvisit}锛�
+ * <ul>
+ *   <li>鍩虹璇诲啓/缁熻/鍒嗚〃璺敱 鈫� 璇ユā鍧楃殑 {@code OuthospDataService}锛�</li>
+ *   <li>闅忚缂栨帓锛堟壂鍏ㄩ噺锛夆啋 璇ユā鍧楃殑 {@code OuthospVisitTaskService}銆�</li>
+ * </ul>
+ * 鏈帴鍙d繚鐣欐槸涓轰簡璁�<b>鏃㈡湁璋冪敤鏂归浂鏀瑰姩</b>锛�10 涓枃浠讹紝璺� smartor / ruoyi-admin / ruoyi-quartz锛夛紝
+ * 鐢卞鎵樺疄鐜版妸宸茶縼鏂规硶杞彂鍒版ā鍧楅棬闈� 鈥斺��
+ * 涓庡鏁欏崟璺ㄦā鍧楁敹鍙o紙{@code ServiceSubtaskPreachformMapperBridge}锛夊悓涓�鎵嬫硶銆�
+ *
+ * <h3>鏈帴鍙e埢鎰忓彧淇濈暀銆岃皟鐢ㄦ柟瀹為檯鐢ㄥ埌鐨� 5 涓柟娉曘��</h3>
+ * 鍘熸帴鍙f湁 14 涓柟娉曪紝浣嗗疄娴嬪彧鏈変互涓� 5 涓澶栭儴璋冪敤锛�
+ * <pre>
+ * insertPatMedOuthosp(...)        HNGatherPatArchive銆丆ollectHIS銆丼erviceExternal銆丼erviceSLTD鈥�
+ * updatePatMedOuthosp(...)        CollectHIS銆丼erviceExternal銆丼erviceSubtask鈥�
+ * selectExistingSerialnums(...)   ServiceSLTD鈥�
+ * dealPatMedOuthosp(...)          ServiceExternal
+ * </pre>
+ * 鍏朵綑锛坽@code selectById} / {@code selectList} / {@code selectCount} / {@code getDeptCodeByPatId}
+ * / {@code delete*} / {@code boxedServiceSubtask} / {@code followUp*}锛�<b>鏃犲閮ㄨ皟鐢ㄦ柟</b>锛�
+ * 鏁呬笉鍦ㄦ澹版槑銆�
+ *
+ * <h3>灏嗘潵鍔ㄤ綔</h3>
+ * 璋冪敤鏂归�愪釜鏀逛负鐩存帴渚濊禆妯″潡闂ㄩ潰鍚庯紝鏈帴鍙d笌濮旀墭瀹炵幇鍗冲彲鏁翠綋鍒犻櫎銆�
+ * <b>鏂颁唬鐮佽鐩存帴鐢� {@code ruoyi-outpatientvisit} 鐨�
+ * {@code OuthospDataFacade} / {@code OuthospDataService}銆�</b>
+ *
+ * @deprecated 鐢� {@code com.ruoyi.outpatientvisit.api.OuthospDataFacade} 浠f浛銆�
+ *         淇濈暀浠呬负鍏煎鏃㈡湁璋冪敤鏂癸紝鏂颁唬鐮佷笉瑕佷娇鐢ㄣ��
+ */
+@Deprecated
+public interface IPatMedOuthospService {
+
+    /**
+     * 鏂板闂ㄨ瘖璁板綍锛堟寜灏辫瘖鏃堕棿璺敱鍒板垎琛級銆�
+     */
+    public int insertPatMedOuthosp(PatMedOuthosp patMedOuthosp);
+
+    /**
+     * 淇敼闂ㄨ瘖璁板綍锛堟煡涓嶅埌鍒欒浆鏂板锛夈��
+     */
+    public int updatePatMedOuthosp(PatMedOuthosp patMedOuthosp);
+
+    /**
+     * 鎵归噺鏌ュ凡鍏ュ簱鐨� serialnum锛堟寜灏辫瘖鏃ユ湡瀹氫綅鍒嗚〃锛屼竴娆� IN 鏌ヨ锛夈��
+     */
+    public Set<String> selectExistingSerialnums(String admitDateStr, Collection<String> serialnums);
+
+    /**
+     * 鍗曟偅鑰呮寜闇�闅忚锛堟櫙瀹佺珯鐐圭壒娈婇�昏緫 鈫� 棣栨闅忚鎴栧啀娆¢殢璁匡級銆�
+     * <p>
+     * 鈿狅笍 <b>鏈銆愭湭銆戣縼绉�</b>锛屼粛鐢� smartor 鍘熺敓瀹炵幇锛氬畠渚濊禆 {@code serviceSubtaskMapper}
+     * 涓� {@code followUpByPatMedOuthosp} / {@code followUpAgainByPatMedOuthosp} 涓や釜绉佹湁鏂规硶锛�
+     * 灞炲彟涓�鏉¢摼璺紙"鎸夐渶"鑰岄潪"鎵叏閲�"锛夈�傞殢璇ラ摼璺竴璧锋敹鍙c��
+     */
+    public Integer dealPatMedOuthosp(PatMedOuthosp patMedOuthosp, Integer visitTimeNum);
+}

--
Gitblit v1.9.3