| | |
| | | return Integer.parseInt(businessOwnerInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public int queryOwnersBindCount(Map info) { |
| | | logger.debug("查询 queryOwnersBindCount 入参 info : {}",info); |
| | | |
| | | List<Map> businessOwnerInfos = sqlSessionTemplate.selectList("ownerV1ServiceDaoImpl.queryOwnersBindCount", info); |
| | | if (businessOwnerInfos.size() < 1) { |
| | | return 0; |
| | | } |
| | | |
| | | return Integer.parseInt(businessOwnerInfos.get(0).get("count").toString()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> queryOwnerMembersCount(Map info) { |
| | | logger.debug("查询 queryOwnerMembersCount 入参 info : {}",info); |
| | | |
| | | List<Map> result = sqlSessionTemplate.selectList("ownerV1ServiceDaoImpl.queryOwnerMembersCount", info); |
| | | return result; |
| | | } |
| | | |
| | | |
| | | } |