java110
2023-06-07 675ccd51874f9c005285eab3e4829e451848b4b6
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;
    }
}