shiyj
2019-07-07 348c483d9e8cf81c485289a44c717fe1c23f4065
CommunityService/src/main/java/com/java110/community/dao/impl/RoomServiceDaoImpl.java
@@ -155,6 +155,18 @@
    }
    @Override
    public int queryRoomsWithSellByCommunityIdCount(Map info) {
        logger.debug("查询小区房屋数据 入参 info : {}", info);
        List<Map> businessRoomInfos = sqlSessionTemplate.selectList("roomServiceDaoImpl.queryRoomsWithSellByCommunityIdCount", info);
        if (businessRoomInfos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(businessRoomInfos.get(0).get("count").toString());
    }
    @Override
    public List<Map> getRoomInfoByCommunityId(Map info) {
        logger.debug("查询小区房屋信息 入参 info : {}", info);
@@ -182,5 +194,15 @@
    }
    @Override
    public List<Map> getRoomInfoWithSellByCommunityId(Map info) {
        logger.debug("查询小区房屋信息 入参 info : {}", info);
        List<Map> businessRoomInfos = sqlSessionTemplate.selectList("roomServiceDaoImpl.getRoomInfoWithSellByCommunityId", info);
        return businessRoomInfos;
    }
}