From 15f6aadbad03b704ae37cf6d5841888486ee85c0 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 16 十一月 2021 17:56:06 +0800
Subject: [PATCH] 优化报表

---
 service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java |  534 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 514 insertions(+), 20 deletions(-)

diff --git a/service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java b/service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java
old mode 100644
new mode 100755
index bcc9241..2f58046
--- a/service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java
+++ b/service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java
@@ -1,15 +1,13 @@
 package com.java110.report.dao.impl;
 
 import com.alibaba.fastjson.JSONObject;
-import com.java110.utils.constant.ResponseConstant;
-import com.java110.utils.exception.DAOException;
-import com.java110.utils.util.DateUtil;
 import com.java110.core.base.dao.BaseServiceDao;
 import com.java110.report.dao.IReportFeeMonthStatisticsServiceDao;
+import com.java110.utils.constant.ResponseConstant;
+import com.java110.utils.exception.DAOException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
 
 import java.util.List;
 import java.util.Map;
@@ -25,37 +23,36 @@
     private static Logger logger = LoggerFactory.getLogger(ReportFeeMonthStatisticsServiceDaoImpl.class);
 
 
-
-
-
     /**
      * 淇濆瓨璐圭敤鏈堢粺璁′俊鎭� 鍒� instance
-     * @param info   bId 淇℃伅
+     *
+     * @param info bId 淇℃伅
      * @throws DAOException DAO寮傚父
      */
     @Override
     public void saveReportFeeMonthStatisticsInfo(Map info) throws DAOException {
-        logger.debug("淇濆瓨璐圭敤鏈堢粺璁′俊鎭疘nstance 鍏ュ弬 info : {}",info);
+        logger.debug("淇濆瓨璐圭敤鏈堢粺璁′俊鎭疘nstance 鍏ュ弬 info : {}", info);
 
-        int saveFlag = sqlSessionTemplate.insert("reportFeeMonthStatisticsServiceDaoImpl.saveReportFeeMonthStatisticsInfo",info);
+        int saveFlag = sqlSessionTemplate.insert("reportFeeMonthStatisticsServiceDaoImpl.saveReportFeeMonthStatisticsInfo", info);
 
-        if(saveFlag < 1){
-            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR,"淇濆瓨璐圭敤鏈堢粺璁′俊鎭疘nstance鏁版嵁澶辫触锛�"+ JSONObject.toJSONString(info));
+        if (saveFlag < 1) {
+            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇濆瓨璐圭敤鏈堢粺璁′俊鎭疘nstance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
         }
     }
 
 
     /**
      * 鏌ヨ璐圭敤鏈堢粺璁′俊鎭紙instance锛�
+     *
      * @param info bId 淇℃伅
      * @return List<Map>
      * @throws DAOException DAO寮傚父
      */
     @Override
     public List<Map> getReportFeeMonthStatisticsInfo(Map info) throws DAOException {
-        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}",info);
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
 
-        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getReportFeeMonthStatisticsInfo",info);
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getReportFeeMonthStatisticsInfo", info);
 
         return businessReportFeeMonthStatisticsInfos;
     }
@@ -63,28 +60,67 @@
 
     /**
      * 淇敼璐圭敤鏈堢粺璁′俊鎭�
+     *
      * @param info 淇敼淇℃伅
      * @throws DAOException DAO寮傚父
      */
     @Override
     public void updateReportFeeMonthStatisticsInfo(Map info) throws DAOException {
-        logger.debug("淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance 鍏ュ弬 info : {}",info);
+        logger.debug("淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance 鍏ュ弬 info : {}", info);
 
-        int saveFlag = sqlSessionTemplate.update("reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsInfo",info);
+        int saveFlag = sqlSessionTemplate.update("reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsInfo", info);
 
-        if(saveFlag < 1){
-            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR,"淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance鏁版嵁澶辫触锛�"+ JSONObject.toJSONString(info));
+        if (saveFlag < 1) {
+            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
         }
     }
 
-     /**
+
+    @Override
+    public void deleteReportFeeMonthStatisticsInfo(Map info) {
+        logger.debug("deleteReportFeeMonthStatisticsInfo 鍏ュ弬 info : {}", info);
+
+        int saveFlag = sqlSessionTemplate.update("reportFeeMonthStatisticsServiceDaoImpl.deleteReportFeeMonthStatisticsInfo", info);
+
+        if (saveFlag < 1) {
+            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
+        }
+    }
+
+    @Override
+    public double getReceivedAmountByMonth(Map info) {
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.getReceivedAmountByMonth", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Double.parseDouble(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    /**
+     * 淇敼璐圭敤鏈堢粺璁′俊鎭�
+     *
+     * @param info 淇敼淇℃伅
+     * @throws DAOException DAO寮傚父
+     */
+    @Override
+    public void updateReportFeeMonthStatisticsOwe(Map info) throws DAOException {
+        logger.debug("淇敼璐圭敤鏈堢粺璁′俊鎭疘nstance 鍏ュ弬 info : {}", info);
+
+        sqlSessionTemplate.update("reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsOwe", info);
+
+
+    }
+
+    /**
      * 鏌ヨ璐圭敤鏈堢粺璁℃暟閲�
+     *
      * @param info 璐圭敤鏈堢粺璁′俊鎭�
      * @return 璐圭敤鏈堢粺璁℃暟閲�
      */
     @Override
     public int queryReportFeeMonthStatisticssCount(Map info) {
-        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}",info);
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
 
         List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFeeMonthStatisticssCount", info);
         if (businessReportFeeMonthStatisticsInfos.size() < 1) {
@@ -94,5 +130,463 @@
         return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
     }
 
+    @Override
+    public int queryReportFeeSummaryCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFeeSummaryCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryReportFeeSummary(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFeeSummary", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+
+    @Override
+    public Map queryReportFeeSummaryMajor(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFeeSummaryMajor", info);
+
+        return businessReportFeeMonthStatisticsInfos.get(0);
+    }
+
+    @Override
+    public int queryReportFloorUnitFeeSummaryCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFloorUnitFeeSummaryCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryReportFloorUnitFeeSummary(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFloorUnitFeeSummary", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public Map queryReportFloorUnitFeeSummaryMajor(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryReportFloorUnitFeeSummaryMajor", info);
+
+        return businessReportFeeMonthStatisticsInfos.get(0);
+    }
+
+    @Override
+    public int queryFeeBreakdownCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeBreakdownCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryFeeBreakdown(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeBreakdown", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public Map queryFeeBreakdownMajor(Map info) {
+        logger.debug("鏌ヨ璐圭敤queryFeeBreakdownMajor 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeBreakdownMajor", info);
+
+        return businessReportFeeMonthStatisticsInfos.get(0);
+    }
+
+    @Override
+    public int queryFeeDetailCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeDetailCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryFeeDetail(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryFeeDetail", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+
+    @Override
+    public int queryOweFeeDetailCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOweFeeDetailCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryOweFeeDetail(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOweFeeDetail", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public Map queryOweFeeDetailMajor(Map info) {
+        logger.debug("鏌ヨ璐圭敤queryOweFeeDetailMajor 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOweFeeDetailMajor", info);
+
+        return businessReportFeeMonthStatisticsInfos.get(0);
+    }
+
+    @Override
+    public int queryHuaningOweFeeCount(Map info) {
+        logger.debug("鏌ヨqueryHuaningOweFeeCount鏁版嵁 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryHuaningOweFee(Map info) {
+        logger.debug("鏌ヨqueryHuaningOweFee 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFee", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public int queryHuaningPayFeeCount(Map info) {
+        logger.debug("鏌ヨqueryHuaningPayFeeCount鏁版嵁 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryHuaningPayFee(Map info) {
+        logger.debug("鏌ヨqueryHuaningPayFee 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFee", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public int queryHuaningPayFeeTwoCount(Map info) {
+        logger.debug("鏌ヨqueryHuaningPayFeeTwoCount鏁版嵁 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwoCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryHuaningPayFeeTwo(Map info) {
+        logger.debug("鏌ヨqueryHuaningPayFeeTwo 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningPayFeeTwo", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public int queryHuaningOweFeeDetailCount(Map info) {
+        logger.debug("鏌ヨqueryHuaningOweFeeDetailCount鏁版嵁 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetailCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryHuaningOweFeeDetail(Map info) {
+        logger.debug("鏌ヨqueryHuaningOweFeeDetail 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryHuaningOweFeeDetail", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+
+    @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);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryDeadlineFeeCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryDeadlineFee(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryDeadlineFee", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public int queryPrePaymentNewCount(Map info) {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPrePaymentNewCount", info);
+        if (businessReportFeeMonthStatisticsInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessReportFeeMonthStatisticsInfos.get(0).get("count").toString());
+    }
+
+    @Override
+    public List<Map> queryPrePayment(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPrePayment", info);
+
+        return businessReportFeeMonthStatisticsInfos;
+    }
+
+    @Override
+    public List<Map> queryPrePaymentCount(Map info) throws DAOException {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryPrePaymentCount", info);
+
+        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 {
+        logger.debug("鏌ヨ璐圭敤鏈堢粺璁′俊鎭� 鍏ュ弬 info : {}", info);
+
+        List<Map> businessReportFeeMonthStatisticsInfos = sqlSessionTemplate.selectList("reportFeeMonthStatisticsServiceDaoImpl.queryOwePaymentCount", info);
+
+        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;
+    }
+
+    /**
+     * 鏌ヨ璐圭敤閰嶇疆淇℃伅锛坕nstance锛�
+     *
+     * @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;
+    }
+
 
 }

--
Gitblit v1.8.0