wuxw
2024-01-25 5bc596e3da2a2abf457488413340b5062c35ff50
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;
    }
}