From 5d19f731a7f3b9f55ebe66f6bcc2d1dae8870013 Mon Sep 17 00:00:00 2001
From: 颓废太子 <1098226878@qq.com>
Date: 星期三, 24 十一月 2021 10:26:07 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 47 insertions(+), 3 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 8b0137e..5b82f4d 100755
--- 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
@@ -75,6 +75,28 @@
}
}
+
+ @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("total").toString());
+ }
+
/**
* 淇敼璐圭敤鏈堢粺璁′俊鎭�
*
@@ -189,6 +211,7 @@
return businessReportFeeMonthStatisticsInfos;
}
+
@Override
public Map queryFeeBreakdownMajor(Map info) {
logger.debug("鏌ヨ璐圭敤queryFeeBreakdownMajor 鍏ュ弬 info : {}", info);
@@ -197,6 +220,7 @@
return businessReportFeeMonthStatisticsInfos.get(0);
}
+
@Override
public int queryFeeDetailCount(Map info) {
logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
@@ -219,7 +243,6 @@
}
-
@Override
public int queryOweFeeDetailCount(Map info) {
logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
@@ -240,6 +263,7 @@
return businessReportFeeMonthStatisticsInfos;
}
+
@Override
public Map queryOweFeeDetailMajor(Map info) {
logger.debug("鏌ヨ璐圭敤queryOweFeeDetailMajor 鍏ュ弬 info : {}", info);
@@ -311,6 +335,28 @@
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) {
@@ -541,8 +587,6 @@
return deposits;
}
-
-
}
--
Gitblit v1.8.0