Explorar el Código

1、陪练课调整
2、付费陪练课

Joburgess hace 5 años
padre
commit
1adf1a6617

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

@@ -2392,7 +2392,8 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
                 }
             }
         }
-        Date applyStartDate = Date.from(now.plusDays(1).atStartOfDay(zoneId).toInstant());
+        now = now.plusDays(1);
+        Date applyStartDate = Date.from(now.atStartOfDay(zoneId).toInstant());
         Date applyEndDate = Date.from(now.plusMonths(buyMonths).atStartOfDay(zoneId).toInstant());
         Date firstMonday = DateUtil.getWeekDayWithDate(applyStartDate, Calendar.MONDAY);
         Date secondSunday = DateUtil.getWeekDayWithDate(applyEndDate, Calendar.SUNDAY);