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 |   49 +++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 45 insertions(+), 4 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 feb4cc6..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
@@ -77,11 +77,11 @@
     public void updatePayFeeDetailMonthInfo(Map info) throws DAOException {
         logger.debug("淇敼鏈堢即璐硅〃淇℃伅Instance 鍏ュ弬 info : {}", info);
 
-        int saveFlag = sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.updatePayFeeDetailMonthInfo", info);
+         sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.updatePayFeeDetailMonthInfo", info);
 
-        if (saveFlag < 1) {
-            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇敼鏈堢即璐硅〃淇℃伅Instance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
-        }
+//        if (saveFlag < 1) {
+//            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇敼鏈堢即璐硅〃淇℃伅Instance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
+//        }
     }
 
     /**
@@ -111,5 +111,46 @@
         return businessPayFeeDetailMonthInfos;
     }
 
+    @Override
+    public List<Map> getWaitDispersedFeeDetail(Map info) {
+        logger.debug("鏌ヨgetWaitDispersedFeeDetail淇℃伅 鍏ュ弬 info : {}", info);
+
+        List<Map> businessPayFeeDetailMonthInfos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.getWaitDispersedFeeDetail", info);
+
+        return businessPayFeeDetailMonthInfos;
+    }
+
+    @Override
+    public void deletePayFeeDetailMonthInfo(Map info) {
+        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