From b278a4b743d0cf45fd0b42bc78ff42f4e1124baf Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 19 十月 2021 12:20:04 +0800
Subject: [PATCH] 优化diamante
---
service-report/src/main/java/com/java110/report/dao/impl/ReportFeeMonthStatisticsServiceDaoImpl.java | 136 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 136 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 3defa42..2608413 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,18 @@
}
}
+
+ @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));
+ }
+ }
+
/**
* 淇敼璐圭敤鏈堢粺璁′俊鎭�
*
@@ -129,6 +141,16 @@
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);
@@ -151,6 +173,15 @@
}
@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);
@@ -170,7 +201,14 @@
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);
@@ -192,6 +230,8 @@
return businessReportFeeMonthStatisticsInfos;
}
+
+
@Override
public int queryOweFeeDetailCount(Map info) {
logger.debug("鏌ヨ璐圭敤鏈堢粺璁℃暟鎹� 鍏ュ弬 info : {}", info);
@@ -212,6 +252,99 @@
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) {
@@ -443,4 +576,7 @@
return deposits;
}
+
+
+
}
--
Gitblit v1.8.0