소스 검색

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

wuhp 1 년 전
부모
커밋
853e0010b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/ydtech/modules/fnc/service/impl/InsuranceHandlingSettlementMonthServiceImpl.java

+ 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);