From 547597b1c6a94f6f8e8bae670f102a1f41ffa719 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期五, 02 六月 2023 10:02:54 +0800
Subject: [PATCH] 优化 收费情况统计

---
 service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java |  244 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 238 insertions(+), 6 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java b/service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java
index 0d5bbb8..12fd14d 100644
--- a/service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java
+++ b/service-report/src/main/java/com/java110/report/statistics/impl/FeeStatisticsImpl.java
@@ -1,8 +1,13 @@
 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;
 
 /**
  * 鍩虹鎶ヨ〃缁熻 瀹炵幇绫�
@@ -10,33 +15,260 @@
 @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 getOweFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getOweFee(queryStatisticsDto);
+    }
+
+
+    /**
+     * 鏌ヨ褰撴湀搴旀敹
+     *
+     * @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);
+    }
+
+    /**
+     * 鏌ヨ 涓氫富鏄庣粏琛�
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public List<Map> getOwnerFeeSummary(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getOwnerFeeSummary(queryStatisticsDto);
+    }
+
+    /**
+     * 浼樻儬閲戦
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public double getDiscountFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getDiscountFee(queryStatisticsDto);
+    }
+
+    /**
+     * 婊炵撼閲�
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public double getLateFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getLateFee(queryStatisticsDto);
+    }
+
+    @Override
+    public double getPrestoreAccount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getPrestoreAccount(queryStatisticsDto);
+    }
+
+    @Override
+    public double getWithholdAccount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getWithholdAccount(queryStatisticsDto);
+    }
+
+    /**
+     * 鏌ヨ涓存椂杞︽敹鍏�
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public double getTempCarFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getTempCarFee(queryStatisticsDto);
+    }
+
+    @Override
+    public double geRefundDeposit(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.geRefundDeposit(queryStatisticsDto);
+    }
+
+    @Override
+    public double geRefundOrderCount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.geRefundOrderCount(queryStatisticsDto);
+    }
+
+    @Override
+    public double geRefundFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.geRefundFee(queryStatisticsDto);
+    }
+
+    @Override
+    public double getChargeFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getChargeFee(queryStatisticsDto);
+    }
+
+    @Override
+    public List<Map> getReceivedFeeByFloor(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getReceivedFeeByFloor(queryStatisticsDto);
+    }
+
+    /**
+     * 鏀舵鏂瑰紡缁熻
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public List<Map> getReceivedFeeByPrimeRate(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getReceivedFeeByPrimeRate(queryStatisticsDto);
+    }
+
+    /**
+     * 鏍规嵁妤兼爧鏌ヨ娆犺垂淇℃伅
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public List<Map> getOweFeeByFloor(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getOweFeeByFloor(queryStatisticsDto);
+    }
+
+    /**
+     * 璁$畻瀵硅薄娆犺垂鏄庣粏
+     *
+     * @param queryStatisticsDto
+     * @return
+     */
+    @Override
+    public List<Map> getObjOweFee(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getObjOweFee(queryStatisticsDto);
+    }
+
+    @Override
+    public long getReceivedRoomCount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getReceivedRoomCount(queryStatisticsDto);
+    }
+
+    @Override
+    public double getReceivedRoomAmount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getReceivedRoomAmount(queryStatisticsDto);
+    }
+
+    @Override
+    public long getHisOweReceivedRoomCount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getHisOweReceivedRoomCount(queryStatisticsDto);
+    }
+
+    @Override
+    public double getHisOweReceivedRoomAmount(QueryStatisticsDto queryStatisticsDto) {
+        return reportFeeStatisticsInnerServiceSMOImpl.getHisOweReceivedRoomAmount(queryStatisticsDto);
+    }
+
 }

--
Gitblit v1.8.0