From 3647f5f6db56b6b5483c986c4d0c0a5507ca9c34 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期日, 18 十月 2020 14:51:32 +0800
Subject: [PATCH] 加入欠费约束

---
 service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 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
index d08f219..b6d170f 100644
--- 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
@@ -191,6 +191,26 @@
 
         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;
+    }
 
 
 

--
Gitblit v1.8.0