|
|
@@ -633,6 +633,7 @@ public class MemberRankSettingServiceImpl extends BaseServiceImpl<Integer, Membe
|
|
|
TempLittleArtistTrainingCampUserRelation tempLittleArtistTrainingCamp = new TempLittleArtistTrainingCampUserRelation();
|
|
|
tempLittleArtistTrainingCamp.setUserId(studentPaymentOrder.getUserId());
|
|
|
tempLittleArtistTrainingCamp.setState("NOT_APPLY");
|
|
|
+ tempLittleArtistTrainingCamp.setCreateTime(nowDate);
|
|
|
tempLittleArtistTrainingCampUserRelationDao.insert(tempLittleArtistTrainingCamp);
|
|
|
//赠送优惠券
|
|
|
// Integer giveCouponId = activity.getGiveCouponId();
|
|
|
@@ -725,7 +726,7 @@ public class MemberRankSettingServiceImpl extends BaseServiceImpl<Integer, Membe
|
|
|
cto.setTime(totalMonth.intValue());
|
|
|
cto.setAmount(studentPaymentOrder.getActualAmount().add(studentPaymentOrder.getBalancePaymentAmount()));
|
|
|
cto.setStartTime(now.toDate());
|
|
|
- cto.setEndTime(now.plusMonths(totalMonth.intValue()).toDate());
|
|
|
+ cto.setEndTime(DateUtil.addDays(now.plusMonths(totalMonth.intValue()).toDate(),1));
|
|
|
cto.setOrderId(studentPaymentOrder.getId());
|
|
|
cto.setCreateTime(new Date());
|
|
|
cloudTeacherOrderService.insert(cto);
|