From dea2325896c7f8bd7df5107569b71d15fede79c7 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期四, 22 九月 2022 20:11:55 +0800
Subject: [PATCH] 1、优化图片异步上传2、bug修复3、合同bug修复4、车场相关问题
---
service-fee/src/main/java/com/java110/fee/listener/detail/AbstractFeeDetailBusinessServiceDataFlowListener.java | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/service-fee/src/main/java/com/java110/fee/listener/detail/AbstractFeeDetailBusinessServiceDataFlowListener.java b/service-fee/src/main/java/com/java110/fee/listener/detail/AbstractFeeDetailBusinessServiceDataFlowListener.java
index f78edf2..2d42096 100755
--- a/service-fee/src/main/java/com/java110/fee/listener/detail/AbstractFeeDetailBusinessServiceDataFlowListener.java
+++ b/service-fee/src/main/java/com/java110/fee/listener/detail/AbstractFeeDetailBusinessServiceDataFlowListener.java
@@ -19,8 +19,8 @@
* Created by wuxw on 2018/7/4.
*/
public abstract class AbstractFeeDetailBusinessServiceDataFlowListener extends AbstractBusinessServiceDataFlowListener {
- private static Logger logger = LoggerFactory.getLogger(AbstractFeeDetailBusinessServiceDataFlowListener.class);
+ private static Logger logger = LoggerFactory.getLogger(AbstractFeeDetailBusinessServiceDataFlowListener.class);
/**
* 鑾峰彇 DAO宸ュ叿绫�
@@ -44,6 +44,7 @@
businessFeeDetailInfo.put("cycles", businessFeeDetailInfo.get("cycles"));
businessFeeDetailInfo.put("remark", businessFeeDetailInfo.get("remark"));
businessFeeDetailInfo.put("receivedAmount", businessFeeDetailInfo.get("received_amount"));
+ businessFeeDetailInfo.put("payableAmount", businessFeeDetailInfo.get("payable_amount"));
businessFeeDetailInfo.put("communityId", businessFeeDetailInfo.get("community_id"));
businessFeeDetailInfo.put("feeId", businessFeeDetailInfo.get("fee_id"));
businessFeeDetailInfo.put("startTime", businessFeeDetailInfo.get("start_time"));
@@ -59,7 +60,7 @@
* @param businessFeeDetail 璐圭敤鏄庣粏淇℃伅
*/
protected void autoSaveDelBusinessFeeDetail(Business business, JSONObject businessFeeDetail) {
-//鑷姩鎻掑叆DEL
+ //鑷姩鎻掑叆DEL
Map info = new HashMap();
info.put("detailId", businessFeeDetail.getString("detailId"));
info.put("statusCd", StatusConstant.STATUS_CD_VALID);
@@ -67,11 +68,8 @@
if (currentFeeDetailInfos == null || currentFeeDetailInfos.size() != 1) {
throw new ListenerExecuteException(ResponseConstant.RESULT_PARAM_ERROR, "鏈壘鍒伴渶瑕佷慨鏀规暟鎹俊鎭紝鍏ュ弬閿欒鎴栨暟鎹湁闂锛岃妫�鏌�" + info);
}
-
Map currentFeeDetailInfo = currentFeeDetailInfos.get(0);
-
currentFeeDetailInfo.put("bId", business.getbId());
-
currentFeeDetailInfo.put("operate", currentFeeDetailInfo.get("operate"));
currentFeeDetailInfo.put("primeRate", currentFeeDetailInfo.get("prime_rate"));
currentFeeDetailInfo.put("detailId", currentFeeDetailInfo.get("detail_id"));
@@ -79,21 +77,17 @@
currentFeeDetailInfo.put("cycles", currentFeeDetailInfo.get("cycles"));
currentFeeDetailInfo.put("remark", currentFeeDetailInfo.get("remark"));
currentFeeDetailInfo.put("receivedAmount", currentFeeDetailInfo.get("received_amount"));
+ currentFeeDetailInfo.put("payableAmount", currentFeeDetailInfo.get("payable_amount"));
currentFeeDetailInfo.put("communityId", currentFeeDetailInfo.get("community_id"));
currentFeeDetailInfo.put("feeId", currentFeeDetailInfo.get("fee_id"));
currentFeeDetailInfo.put("startTime", currentFeeDetailInfo.get("start_time"));
currentFeeDetailInfo.put("endTime", currentFeeDetailInfo.get("end_time"));
-
-
currentFeeDetailInfo.put("operate", StatusConstant.OPERATE_DEL);
getFeeDetailServiceDaoImpl().saveBusinessFeeDetailInfo(currentFeeDetailInfo);
-
for (Object key : currentFeeDetailInfo.keySet()) {
if (businessFeeDetail.get(key) == null) {
businessFeeDetail.put(key.toString(), currentFeeDetailInfo.get(key));
}
}
}
-
-
}
--
Gitblit v1.8.0