|
@@ -64,7 +64,7 @@ public class MusicGroupPaymentCalenderDetailServiceImpl extends BaseServiceImpl<
|
|
if(e.getPaymentStatus() == null || e.getPaymentStatus() != NON_PAYMENT){
|
|
if(e.getPaymentStatus() == null || e.getPaymentStatus() != NON_PAYMENT){
|
|
throw new BizException("修改失败,缴费状态不匹配");
|
|
throw new BizException("修改失败,缴费状态不匹配");
|
|
}
|
|
}
|
|
- if(expectAmount.intValue() == 0){
|
|
|
|
|
|
+ if(expectAmount.doubleValue() == 0){
|
|
e.setPaymentStatus(PAID_COMPLETED);
|
|
e.setPaymentStatus(PAID_COMPLETED);
|
|
}
|
|
}
|
|
e.setUpdateTime(date);
|
|
e.setUpdateTime(date);
|
|
@@ -76,7 +76,7 @@ public class MusicGroupPaymentCalenderDetailServiceImpl extends BaseServiceImpl<
|
|
//剩余网管课可购买次数加一
|
|
//剩余网管课可购买次数加一
|
|
musicGroupStudentFeeDao.remainNetworkClassTimesAdd(ids);
|
|
musicGroupStudentFeeDao.remainNetworkClassTimesAdd(ids);
|
|
}
|
|
}
|
|
- if(expectAmount.intValue() == 0){
|
|
|
|
|
|
+ if(expectAmount.doubleValue() == 0){
|
|
//缴费完成
|
|
//缴费完成
|
|
musicGroupStudentFeeDao.setPaidCompleted(calenderDetails);
|
|
musicGroupStudentFeeDao.setPaidCompleted(calenderDetails);
|
|
}
|
|
}
|