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

---
 smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
index 4ae0783..54cb39c 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceOutPathMapper.xml
@@ -151,6 +151,9 @@
             #{id}
         </foreach>
     </update>
-
+    <select id="selectAutoId" resultType="Integer" >
+        SELECT AUTO_INCREMENT FROM  INFORMATION_SCHEMA.TABLES
+         WHERE  TABLE_NAME  = 'service_out_path'  AND table_schema = DATABASE() and onorgid
+    </select>
 
 </mapper>

--
Gitblit v1.9.3