From 1af4e76f8440b1efbbce3689fdcc16f4a4f2c6c3 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 18 六月 2021 00:01:42 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java b/service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java
index 9df2246..82995f2 100644
--- a/service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java
+++ b/service-acct/src/main/java/com/java110/acct/dao/impl/AccountWithdrawalApplyServiceDaoImpl.java
@@ -94,5 +94,35 @@
return Integer.parseInt(businessAccountWithdrawalApplyInfos.get(0).get("count").toString());
}
+ /**
+ * 鏌ヨ璐︽埛鎻愮幇淇℃伅锛坕nstance锛�
+ * @param info bId 淇℃伅
+ * @return List<Map>
+ * @throws DAOException DAO寮傚父
+ */
+ @Override
+ public List<Map> listStateWithdrawalApplys(Map info) throws DAOException {
+ logger.debug("鏌ヨ璐︽埛鎻愮幇淇℃伅 鍏ュ弬 info : {}",info);
+ List<Map> businessAccountWithdrawalApplyInfos = sqlSessionTemplate.selectList("accountWithdrawalApplyServiceDaoImpl.listStateWithdrawalApplys",info);
+
+ return businessAccountWithdrawalApplyInfos;
+ }
+
+ /**
+ * 鏌ヨ璐︽埛鎻愮幇鏁伴噺
+ * @param info 璐︽埛鎻愮幇淇℃伅
+ * @return 璐︽埛鎻愮幇鏁伴噺
+ */
+ @Override
+ public int listStateWithdrawalApplysCount(Map info) {
+ logger.debug("鏌ヨ璐︽埛鎻愮幇鏁版嵁 鍏ュ弬 info : {}",info);
+
+ List<Map> businessAccountWithdrawalApplyInfos = sqlSessionTemplate.selectList("accountWithdrawalApplyServiceDaoImpl.listStateWithdrawalApplysCount", info);
+ if (businessAccountWithdrawalApplyInfos.size() < 1) {
+ return 0;
+ }
+
+ return Integer.parseInt(businessAccountWithdrawalApplyInfos.get(0).get("count").toString());
+ }
}
--
Gitblit v1.8.0