|
@@ -2557,6 +2557,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
practiceGroupBuyParams.setCoursesStartDate(courseStartDate);
|
|
|
LocalDate currentExpiredDay = courseStartDay.plusMonths(practiceGroupBuyParams.getBuyMonths());
|
|
|
Date courseExpiredDate=Date.from(currentExpiredDay.atStartOfDay(DateUtil.zoneId).toInstant());
|
|
|
+ courseExpiredDate = DateUtil.addSeconds(courseExpiredDate, -1);
|
|
|
practiceGroupBuyParams.setCoursesExpireDate(courseExpiredDate);
|
|
|
|
|
|
LocalDate courseStartMonday=courseStartDay.with(DateUtil.weekFields.dayOfWeek(), DayOfWeek.MONDAY.getValue());
|