From 6d27673135ac72de6e8e20e56c748c4ef1be47b4 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 17 十二月 2025 14:24:58 +0800
Subject: [PATCH] 【丽水】统计随访数据 增加redis记录结果 提高查询效率

---
 smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java b/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
index 8a00b1b..b80f83e 100644
--- a/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
+++ b/smartor/src/main/java/com/smartor/mapper/PatMedOuthospMapper.java
@@ -43,6 +43,14 @@
     public int batchPatMedOuthosp(List<PatMedOuthosp> patMedOuthosps);
 
     /**
+     * 鎵归噺鎻掑叆锛屽拷鐣ラ噸澶嶏紙INSERT IGNORE锛�
+     *
+     * @param patMedOuthosps 闂ㄦ�ヨ瘖璁板綍鍒楄〃
+     * @return 瀹為檯鎻掑叆鏁伴噺
+     */
+    public int batchInsertIgnore(List<PatMedOuthosp> patMedOuthosps);
+
+    /**
      * 淇敼鎮h�呴棬璇婅褰�
      *
      * @param patMedOuthosp 鎮h�呴棬璇婅褰�
@@ -92,6 +100,8 @@
      */
     void createPatMedOuthosp(@Param("templateName") String templateName, @Param("newName") String newName);
 
+    void createPatMedOuthospAutoAdd(@Param("newName") String newName);
+
 
     void setAutoIncrement(@Param("tableName") String tableName, @Param("autoInc") long autoInc);
 

--
Gitblit v1.9.3