From 357100150bd0ba266d78d8d0f3b02c37b22435d8 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 02 十一月 2026 10:17:19 +0800
Subject: [PATCH] 【丽水】1、指标查询与随访统计条件不同问题 2、微信发送重复问题

---
 smartor/src/main/java/com/smartor/service/IPatMedInhospService.java |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 52 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/IPatMedInhospService.java b/smartor/src/main/java/com/smartor/service/IPatMedInhospService.java
index 486b098..17b2c6f 100644
--- a/smartor/src/main/java/com/smartor/service/IPatMedInhospService.java
+++ b/smartor/src/main/java/com/smartor/service/IPatMedInhospService.java
@@ -3,6 +3,8 @@
 import com.ruoyi.common.core.domain.AjaxResult;
 import com.ruoyi.common.core.page.TableDataInfo;
 import com.smartor.domain.*;
+import com.smartor.domain.DTO.ManualVisitDTO;
+import com.smartor.domain.DTO.PatMedInhospDTO;
 import org.springframework.web.bind.annotation.RequestBody;
 
 import java.util.List;
@@ -23,6 +25,8 @@
      */
     public PatMedInhosp selectPatMedInhospByInhospid(Long inhospid);
 
+    public List<PatMedInhosp> selectPatMedInhosp(PatMedInhosp patMedInhosp);
+
     /**
      * 鏌ヨ鎮h�呬綇闄㈣褰曞垪琛�
      *
@@ -31,10 +35,12 @@
      */
     public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp);
 
+    public List<PatMedInhospDTO> selectPatMedInhospByApplication(PatMedInhosp patMedInhosp);
+
     /**
      * 鍑洪櫌銆侀棬璇婁汉鏁板拰闅忚閲忕粺璁★紙鍛紝鏈堬紝骞达級
      */
-    public Map<String,Integer> queryPersonCount(PatServiceCount patServiceCount);
+    public Map<String, Integer> queryPersonCount(PatServiceCount patServiceCount);
 
     /**
      * 鏌ヨ褰撳墠鐧婚檰浜鸿嚜宸憋紙鐥呭尯銆侀儴闂級鐨勬偅鑰呬綇闄㈣褰曞垪琛�
@@ -88,7 +94,15 @@
      * @param
      * @return 缁撴灉
      */
-    public int dealOutHospInfo();
+    public int dealOutHospInfo(String config);
+
+    /**
+     * 澶勭悊浠巋is鍙栨潵鐨勫嚭闄㈡暟鎹� 浠诲姟缁勭敓鎴�
+     *
+     * @param
+     * @return 缁撴灉
+     */
+    public int dealOutHospInfoBySchedule(String config);
 
     /**
      * 鑾峰彇鍑洪櫌锛屼綇闄紝闂ㄨ瘖鏈嶅姟浜烘
@@ -100,8 +114,44 @@
 
     /**
      * 鍖绘姢涓庢偅鑰呭叧鑱斿叧绯�
+     *
      * @param patMedInhosp
      * @return
      */
     public List<PatMedInhosp> getDocAndPat(PatMedInhosp patMedInhosp);
+
+    /**
+     * 澶勭悊浠巋is鍙栨潵鐨勬墜鏈俊鎭�
+     *
+     * @param
+     * @return 缁撴灉
+     */
+    public void addOperationSubTask(String config);
+
+    /**
+     * 涓存椂鏂规硶锛屽鐞哾iagcheckFlag = 0鐨勬暟鎹紝閲嶆柊鐢熸垚闅忚浠诲姟
+     *
+     * @param
+     * @return 缁撴灉
+     */
+    public void dealIcd10Subtask(PatMedInhosp patMedInhospVo, String config);
+
+    /**
+     * 浜哄伐闅忚锛氬垹闄ゆ偅鑰呭嚭闄㈣褰曞搴旂殑鏈畬鎴愰殢璁夸换鍔★紝骞舵寜鎸囧畾浠诲姟閲嶆柊鐢熸垚
+     *
+     * @param manualVisitDTO 鎮h�卲atid闆嗗悎鍙婁汉宸ラ殢璁夸换鍔askid
+     * @return 澶勭悊缁撴灉
+     */
+    public Map<String, Object> addManualVisit(ManualVisitDTO manualVisitDTO);
+
+    public ServiceSubtask boxedServiceSubtask(ServiceTask serviceTask, PatMedInhosp patMedInhosp1, PatArchive patArchive, String config, Integer type);
+
+    /**
+     * 鎸変换鍔¢厤缃殑鍙戦�佹柟寮忥紙preachform_desc锛夊垵濮嬪寲瀛愪换鍔″彂閫佹柟寮忔槑缁嗐��
+     *
+     * @param serviceSubtask 瀛愪换鍔�
+     * @param sendstate      鍙戦�佹柟寮忔槑缁嗗垵濮嬬姸鎬侊紝涓虹┖鏃堕粯璁� 1
+     * @return 澶勭悊鏉℃暟
+     */
+    public Integer addServiceSubtaskPreachform(ServiceSubtask serviceSubtask, String sendstate);
 }

--
Gitblit v1.9.3