|
@@ -2035,6 +2035,15 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
}
|
|
|
|
|
|
result.put("suplusCourseFee", bigDecimal);
|
|
|
+
|
|
|
+ if(VipGroupStatusEnum.APPLYING.equals(vipGroup.getStatus())){
|
|
|
+ StudentPaymentOrder studentPaymentOrder = studentPaymentOrderDao.findByStudentVipGroup(vipGroupId, studentId, DealStatusEnum.SUCCESS.getCode());
|
|
|
+ if(Objects.nonNull(studentPaymentOrder)){
|
|
|
+ result.put("suplusCourseOriginalFee", studentPaymentOrder.getExpectAmount());
|
|
|
+ result.put("suplusCourseFee", studentPaymentOrder.getExpectAmount());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
return result;
|
|
|
}
|
|
|
|