| | |
| | | package com.java110.report.statistics.impl; |
| | | |
| | | import com.java110.dto.report.QueryStatisticsDto; |
| | | import com.java110.intf.report.IReportFeeStatisticsInnerServiceSMO; |
| | | import com.java110.report.statistics.IFeeStatistics; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 基础报表统计 实现类 |
| | | */ |
| | | @Service |
| | | public class FeeStatisticsImpl implements IFeeStatistics { |
| | | |
| | | @Autowired |
| | | private IReportFeeStatisticsInnerServiceSMO reportFeeStatisticsInnerServiceSMOImpl; |
| | | |
| | | /** |
| | | * 查询 历史欠费 |
| | | * |
| | | * @param queryFeeStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getHisMonthOweFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return 0; |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getHisMonthOweFee(queryFeeStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 查询 当月欠费 |
| | | * @param queryFeeStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getCurMonthOweFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return 0; |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getCurMonthOweFee(queryFeeStatisticsDto); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询当月应收 |
| | | * @param queryStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getCurReceivableFee(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getCurReceivableFee(queryStatisticsDto); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询 欠费追回 |
| | | * @param queryFeeStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getHisReceivedFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return 0; |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getHisReceivedFee(queryFeeStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 查询 预交费用 |
| | | * @param queryFeeStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getPreReceivedFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return 0; |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getPreReceivedFee(queryFeeStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 查询 实收费用 |
| | | * @param queryFeeStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public double getReceivedFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getReceivedFee(queryFeeStatisticsDto); |
| | | } |
| | | |
| | | @Override |
| | | public double getReceivedFee(QueryStatisticsDto queryFeeStatisticsDto) { |
| | | return 0; |
| | | public int getOweRoomCount(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getOweRoomCount(queryStatisticsDto); |
| | | } |
| | | |
| | | @Override |
| | | public long getFeeRoomCount(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getFeeRoomCount(queryStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 楼栋收费率信息统计 |
| | | * @param queryStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<Map> getFloorFeeSummary(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getFloorFeeSummary(queryStatisticsDto); |
| | | } |
| | | |
| | | /** |
| | | * 费用项收费率信息统计 |
| | | * @param queryStatisticsDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<Map> getConfigFeeSummary(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getConfigFeeSummary(queryStatisticsDto); |
| | | } |
| | | |
| | | @Override |
| | | public int getObjFeeSummaryCount(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getObjFeeSummaryCount(queryStatisticsDto); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map> getObjFeeSummary(QueryStatisticsDto queryStatisticsDto) { |
| | | return reportFeeStatisticsInnerServiceSMOImpl.getObjFeeSummary(queryStatisticsDto); |
| | | } |
| | | |
| | | } |