Joburgess 5 years ago
parent
commit
54bac6f2d8

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -1305,7 +1305,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 						vipGroupSalaryDto.setDeductionFee(vipGroupSalaryDto.getExpectSalary().subtract(vipGroupSalaryDto.getActualSalary()));
 						vipGroupSalaryDto.setIsSalary(YesOrNoEnum.YES);
 					}
-					BigDecimal actualAmount = courseAmountMap.get(vipGroupSalaryDto.getCourseScheduleId().intValue());
+					BigDecimal actualAmount = courseAmountMap.get(vipGroupSalaryDto.getCourseScheduleId());
 					if(Objects.nonNull(actualAmount)){
 						vipGroupSalaryDto.setDeductionFee(actualAmount);
 					}