| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | | } |