java110
2023-06-12 ca8a2f9555863313d4e5a85deac214f91cbd16eb
service-report/src/main/java/com/java110/report/smo/impl/ReportFeeStatisticsInnerServiceSMOImpl.java
@@ -2,6 +2,7 @@
import com.java110.core.base.smo.BaseServiceSMO;
import com.java110.dto.PageDto;
import com.java110.dto.report.QueryStatisticsDto;
import com.java110.intf.report.IReportFeeStatisticsInnerServiceSMO;
import com.java110.report.dao.IReportFeeStatisticsServiceDao;
@@ -42,6 +43,12 @@
    @Override
    public double getCurMonthOweFee(@RequestBody QueryStatisticsDto queryFeeStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getCurMonthOweFee(BeanConvertUtil.beanCovertMap(queryFeeStatisticsDto));
        return info;
    }
    @Override
    public double getOweFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getOweFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
@@ -106,7 +113,7 @@
     * @return
     */
    @Override
    public List<Map> getFloorFeeSummary(QueryStatisticsDto queryStatisticsDto) {
    public List<Map> getFloorFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> info = reportFeeStatisticsServiceDaoImpl.getFloorFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
@@ -119,9 +126,164 @@
     * @return
     */
    @Override
    public List<Map> getConfigFeeSummary(QueryStatisticsDto queryStatisticsDto) {
    public List<Map> getConfigFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> info = reportFeeStatisticsServiceDaoImpl.getConfigFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public int getObjFeeSummaryCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        int info = reportFeeStatisticsServiceDaoImpl.getObjFeeSummaryCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public List<Map> getObjFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        //校验是否传了 分页信息
        int page = queryStatisticsDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            queryStatisticsDto.setPage((page - 1) * queryStatisticsDto.getRow());
        }
        List<Map> info = reportFeeStatisticsServiceDaoImpl.getObjFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public List<Map> getOwnerFeeSummary(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        int page = queryStatisticsDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            queryStatisticsDto.setPage((page - 1) * queryStatisticsDto.getRow());
        }
        List<Map> info = reportFeeStatisticsServiceDaoImpl.getOwnerFeeSummary(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getDiscountFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getDiscountFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getLateFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getLateFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getPrestoreAccount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getPrestoreAccount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getWithholdAccount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getWithholdAccount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    /**
     * 临时车收入
     * @param queryStatisticsDto
     * @return
     */
    @Override
    public double getTempCarFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getTempCarFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    /**
     * 查询退款押金
     * @param queryStatisticsDto
     * @return
     */
    @Override
    public double geRefundDeposit(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.geRefundDeposit(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double geRefundOrderCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.geRefundOrderCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double geRefundFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.geRefundFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getChargeFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getChargeFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public List<Map> getReceivedFeeByFloor(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> infos = reportFeeStatisticsServiceDaoImpl.getReceivedFeeByFloor(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return infos;
    }
    /**
     * 按收款方式统计收入
     * @param queryStatisticsDto
     * @return
     */
    @Override
    public List<Map> getReceivedFeeByPrimeRate(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> infos = reportFeeStatisticsServiceDaoImpl.getReceivedFeeByPrimeRate(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return infos;
    }
    @Override
    public List<Map> getOweFeeByFloor(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> infos = reportFeeStatisticsServiceDaoImpl.getOweFeeByFloor(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return infos;
    }
    @Override
    public List<Map> getObjOweFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> infos = reportFeeStatisticsServiceDaoImpl.getObjOweFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return infos;
    }
    @Override
    public long getReceivedRoomCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        long info = reportFeeStatisticsServiceDaoImpl.getReceivedRoomCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getReceivedRoomAmount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getReceivedRoomAmount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public long getHisOweReceivedRoomCount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        long info = reportFeeStatisticsServiceDaoImpl.getHisOweReceivedRoomCount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public double getHisOweReceivedRoomAmount(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        double info = reportFeeStatisticsServiceDaoImpl.getHisOweReceivedRoomAmount(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return info;
    }
    @Override
    public List<Map> getObjReceivedFee(@RequestBody QueryStatisticsDto queryStatisticsDto) {
        List<Map> infos = reportFeeStatisticsServiceDaoImpl.getObjReceivedFee(BeanConvertUtil.beanCovertMap(queryStatisticsDto));
        return infos;
    }
}