吴学文
2019-07-09 2ce35cb8d146582b32fd8867ef27ac2930da6ae3
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;
    }
}