From cab3425bb92d01f3494eb25c1f299038dc634c65 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期三, 15 三月 2023 23:43:48 +0800
Subject: [PATCH] 优化保养转单功能

---
 service-user/src/main/java/com/java110/user/dao/impl/RoleCommunityV1ServiceDaoImpl.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/service-user/src/main/java/com/java110/user/dao/impl/RoleCommunityV1ServiceDaoImpl.java b/service-user/src/main/java/com/java110/user/dao/impl/RoleCommunityV1ServiceDaoImpl.java
index bd131bb..76dc16d 100644
--- a/service-user/src/main/java/com/java110/user/dao/impl/RoleCommunityV1ServiceDaoImpl.java
+++ b/service-user/src/main/java/com/java110/user/dao/impl/RoleCommunityV1ServiceDaoImpl.java
@@ -106,5 +106,25 @@
         return Integer.parseInt(businessRoleCommunityInfos.get(0).get("count").toString());
     }
 
+    @Override
+    public int queryRoleCommunitysNameCount(Map info) {
+        logger.debug("鏌ヨ queryRoleCommunitysNameCount 鍏ュ弬 info : {}", info);
+
+        List<Map> businessRoleCommunityInfos = sqlSessionTemplate.selectList("roleCommunityV1ServiceDaoImpl.queryRoleCommunitysNameCount", info);
+        if (businessRoleCommunityInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessRoleCommunityInfos.get(0).get("count").toString());    }
+
+    @Override
+    public List<Map> queryRoleCommunitysName(Map info) {
+        logger.debug("鏌ヨ getRoleCommunityInfo 鍏ュ弬 info : {}", info);
+
+        List<Map> businessRoleCommunityInfos = sqlSessionTemplate.selectList("roleCommunityV1ServiceDaoImpl.queryRoleCommunitysName", info);
+
+        return businessRoleCommunityInfos;
+    }
+
 
 }

--
Gitblit v1.8.0