From 675ccd51874f9c005285eab3e4829e451848b4b6 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 07 六月 2023 11:11:29 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
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