From 2b919980a8c70554a64cb3d03cc95679af4d817f Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期一, 03 七月 2023 00:22:16 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java b/service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java
index cc323f7..f05576f 100644
--- a/service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java
+++ b/service-fee/src/main/java/com/java110/fee/feeMonth/PayFeeMonthImpl.java
@@ -56,6 +56,11 @@
@Override
public void doGeneratorOrRefreshAllFeeMonth(String communityId) {
+ //todo 娓呯悊 pay_fee_detail_month
+ PayFeeDetailMonthPo payFeeDetailMonthPo = new PayFeeDetailMonthPo();
+ payFeeDetailMonthPo.setCommunityId(communityId);
+ payFeeDetailMonthInnerServiceSMOImpl.deletePayFeeDetailMonth(payFeeDetailMonthPo);
+
FeeDto feeDto = new FeeDto();
feeDto.setCommunityId(communityId);
@@ -143,7 +148,19 @@
doGeneratorOrRefreshFeeMonth(tmpFeeDtos.get(0), communityId);
}
-
+ /**
+ * 鐢熸垚澶氫釜璐圭敤 骞� 绂绘暎鍒版湀
+ *
+ * @param feeIds
+ * @param communityId
+ */
+ @Override
+ @Async
+ public void doGeneratorFeeMonths(List<String> feeIds, String communityId) {
+ for (String feeId : feeIds) {
+ doGeneratorOrRefreshFeeMonth(feeId, communityId);
+ }
+ }
/**
@@ -192,7 +209,7 @@
//todo 澶勭悊 endTime 鍒� deadlineTime 鐨勮垂鐢�
Date deadlineTime = computeFeeSMOImpl.getDeadlineTime(feeDto);
- payFeeMonthHelp.waitDispersedOweFee(feeDto,payFeeMonthOwnerDto,feePrice,deadlineTime);
+ payFeeMonthHelp.waitDispersedOweFee(feeDto, payFeeMonthOwnerDto, feePrice, deadlineTime);
}
--
Gitblit v1.8.0