From b173d31976fc4731b7c247d4038de92134eba317 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 29 六月 2023 11:42:17 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java b/service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java
index 04867bd..b94d1be 100644
--- a/service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java
+++ b/service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java
@@ -125,5 +125,32 @@
sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.deletePayFeeDetailMonthInfo", info);
}
+ @Override
+ public List<Map> queryPagePayFeeDetailMonths(Map info) {
+ logger.debug("鏌ヨ queryPagePayFeeDetailMonths 淇℃伅 鍏ュ弬 info : {}", info);
+
+ List<Map> infos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonths", info);
+
+ return infos;
+ }
+
+ /**
+ * 鏌ヨ鏈堢即璐硅〃鏁伴噺
+ *
+ * @param info 鏈堢即璐硅〃淇℃伅
+ * @return 鏈堢即璐硅〃鏁伴噺
+ */
+ @Override
+ public int queryPagePayFeeDetailMonthsCount(Map info) {
+ logger.debug("鏌ヨ鏈堢即璐硅〃鏁版嵁 鍏ュ弬 info : {}", info);
+
+ List<Map> businessPayFeeDetailMonthInfos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.queryPagePayFeeDetailMonthsCount", info);
+ if (businessPayFeeDetailMonthInfos.size() < 1) {
+ return 0;
+ }
+
+ return Integer.parseInt(businessPayFeeDetailMonthInfos.get(0).get("count").toString());
+ }
+
}
--
Gitblit v1.8.0