java110
2021-08-12 4dbf61c9189796ec46d39ac4b839cfc064e70411
service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java
old mode 100644 new mode 100755
@@ -214,6 +214,36 @@
    }
    @Override
    public Map queryPayFeeDetailCount(Map info) {
        logger.debug("查询费用月统计数据 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDetailCount", info);
        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
            return null;
        }
        return businessReportFeeMonthStatisticsInfos.get(0);
    }
    @Override
    public List<Map> queryPayFeeDetail(Map info) throws DAOException {
        logger.debug("查询费用月统计信息 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDetail", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryAllPayFeeDetail(Map info) throws DAOException {
        logger.debug("查询费用总数月统计信息 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryAllPayFeeDetail", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public int queryDeadlineFeeCount(Map info) {
        logger.debug("查询费用月统计数据 入参 info : {}", info);
@@ -264,6 +294,15 @@
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryDeadlinePaymentCount(Map info) throws DAOException {
        logger.debug("查询费用月统计信息 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryDeadlinePaymentCount", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryOwePaymentCount(Map info) throws DAOException {
@@ -274,5 +313,134 @@
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryFinishOweFee(Map info) throws DAOException {
        logger.debug("查询费用月统计信息 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFinishOweFee", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryAllPaymentCount(Map info) {
        logger.debug("查询费用月统计信息 入参 info : {}", info);
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryAllPaymentCount", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryAllFeeDetail(Map info) {
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryAllFeeDetail", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> queryPayFeeDetailSum(Map info) {
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDetailSum", info);
        return businessReportFeeMonthStatisticsInfos;
    }
    /**
     * 查询费用配置信息(instance)
     *
     * @param info bId 信息
     * @return List<Map>
     * @throws DAOException DAO异常
     */
    @Override
    public List<Map> getFeeConfigInfo(Map info) throws DAOException {
        logger.debug("查询费用配置信息 入参 info : {}", info);
        List<Map> businessFeeConfigInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getFeeConfigInfo", info);
        return businessFeeConfigInfos;
    }
    @Override
    public List<Map> getRepairUserInfo(Map info) {
        logger.debug("查询报修配置信息 入参 info : {}", info);
        List<Map> businessRepairUserInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getRepairInfo", info);
        return businessRepairUserInfos;
    }
    @Override
    public List<Map> getRepairWithOutPage(Map info) {
        logger.debug("查询报修配置信息 入参 info : {}", info);
        List<Map> businessRepairUserInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getRepairWithOutPage", info);
        return businessRepairUserInfos;
    }
    @Override
    public List<Map> getRepairStaff(Map info) {
        logger.debug("查询报修配置信息 入参 info : {}", info);
        List<Map> businessRepairUserInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryRepairForStaff", info);
        return businessRepairUserInfos;
    }
    @Override
    public Map getReceivableInformation(Map beanCovertMap) {
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getReceivableInformation", beanCovertMap);
        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
            return null;
        }
        return businessReportFeeMonthStatisticsInfos.get(0);
    }
    @Override
    public List<Map> getFloorReceivableInformation(Map beanCovertMap) {
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getFloorReceivableInformation", beanCovertMap);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public List<Map> getFeeConfigReceivableInformation(Map beanCovertMap) {
        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getFeeConfigReceivableInformation", beanCovertMap);
        return businessReportFeeMonthStatisticsInfos;
    }
    @Override
    public int queryNoFeeRoomsCount(Map info) {
        logger.debug("查询未收费房屋统计数据 入参 info : {}", info);
        List<Map> roomInfos =
                sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryNoFeeRoomsCount", info);
        if (roomInfos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(roomInfos.get(0).get("count").toString());
    }
    @Override
    public List<Map> queryNoFeeRooms(Map info) {
        logger.debug("查询未收费房屋统计信息 入参 info : {}", info);
        List<Map> roomInfos =
                sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryNoFeeRooms", info);
        return roomInfos;
    }
    @Override
    public List<Map> queryPayFeeDeposit(Map info) {
        logger.debug("查询押金统计信息 入参 info : {}", info);
        List<Map> deposits = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPayFeeDeposit", info);
        return deposits;
    }
    @Override
    public List<Map> queryFeeDepositAmount(Map info) {
        logger.debug("查询押金退费总金额信息 入参 info : {}", info);
        List<Map> deposits = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeDepositAmount", info);
        return deposits;
    }
}