소스 검색

1.掌柜财务保险手续费结算退保显示问题

wuhp 1 년 전
부모
커밋
eae081c82f
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

@@ -58,7 +58,7 @@ public class InsuranceHandlingSettlementMonthServiceImpl extends ServiceImpl<Ins
                 if (item.getTotalAmount() != null && item.getTotalAmount().compareTo(BigDecimal.ZERO) < 0) {
                     String formattedDateString = formatDateMinusOneMonth(item.getIncomeSigningTime());
                     if (StringUtils.isNotEmpty(formattedDateString)) {
-                        InsuranceHandlingSettlementMonthDto insuranceHandlingSettlementMonthDto = latestByTaskId.get(formattedDateString);
+                        InsuranceHandlingSettlementMonthDto insuranceHandlingSettlementMonthDto = latestByTaskId.get(item.getIncomeSigningTime());
                         insuranceHandlingSettlementMonthDto.setTotalAmount(insuranceHandlingSettlementMonthDto.getTotalAmount().add(item.getTotalAmount()));
                         latestByTaskId.remove(item.getIncomeSigningTime());
                         latestByTaskId.put(formattedDateString, insuranceHandlingSettlementMonthDto);