Răsfoiți Sursa

1.掌柜财务手续费结算 不同月份退保金额 问题

wuhp 1 an în urmă
părinte
comite
853e0010b4

+ 1 - 1
src/main/java/com/ydtech/modules/fnc/service/impl/InsuranceHandlingSettlementMonthServiceImpl.java

@@ -59,7 +59,7 @@ public class InsuranceHandlingSettlementMonthServiceImpl extends ServiceImpl<Ins
                     String formattedDateString = formatDateMinusOneMonth(item.getIncomeSigningTime());
                     if (StringUtils.isNotEmpty(formattedDateString)) {
                         InsuranceHandlingSettlementMonthDto insuranceHandlingSettlementMonthDto = latestByTaskId.get(item.getIncomeSigningTime());
-                        insuranceHandlingSettlementMonthDto.setTotalAmount(insuranceHandlingSettlementMonthDto.getTotalAmount().add(item.getTotalAmount()));
+                        insuranceHandlingSettlementMonthDto.setTotalAmount(insuranceHandlingSettlementMonthDto.getTotalAmount());
                         latestByTaskId.remove(item.getIncomeSigningTime());
                         latestByTaskId.put(formattedDateString, insuranceHandlingSettlementMonthDto);