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/smo/impl/RoleCommunityV1InnerServiceSMOImpl.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/service-user/src/main/java/com/java110/user/smo/impl/RoleCommunityV1InnerServiceSMOImpl.java b/service-user/src/main/java/com/java110/user/smo/impl/RoleCommunityV1InnerServiceSMOImpl.java
index e0d95bc..225826d 100644
--- a/service-user/src/main/java/com/java110/user/smo/impl/RoleCommunityV1InnerServiceSMOImpl.java
+++ b/service-user/src/main/java/com/java110/user/smo/impl/RoleCommunityV1InnerServiceSMOImpl.java
@@ -86,4 +86,22 @@
public int queryRoleCommunitysCount(@RequestBody RoleCommunityDto roleCommunityDto) {
return roleCommunityV1ServiceDaoImpl.queryRoleCommunitysCount(BeanConvertUtil.beanCovertMap(roleCommunityDto)); }
+ @Override
+ public int queryRoleCommunitysNameCount(@RequestBody RoleCommunityDto roleCommunityDto) {
+ return roleCommunityV1ServiceDaoImpl.queryRoleCommunitysNameCount(BeanConvertUtil.beanCovertMap(roleCommunityDto)); }
+
+
+ @Override
+ public List<RoleCommunityDto> queryRoleCommunitysName(@RequestBody RoleCommunityDto roleCommunityDto) {
+ int page = roleCommunityDto.getPage();
+
+ if (page != PageDto.DEFAULT_PAGE) {
+ roleCommunityDto.setPage((page - 1) * roleCommunityDto.getRow());
+ }
+
+ List<RoleCommunityDto> roleCommunitys = BeanConvertUtil.covertBeanList(roleCommunityV1ServiceDaoImpl.queryRoleCommunitysName(BeanConvertUtil.beanCovertMap(roleCommunityDto)), RoleCommunityDto.class);
+
+ return roleCommunitys;
+ }
+
}
--
Gitblit v1.8.0