|
@@ -925,7 +925,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
|
|
|
WhileNode:
|
|
|
while (true) {
|
|
|
- if (classGroup4MixDto.getHoliday() && !holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
+ if (classGroup4MixDto.getHoliday() && holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
now = now.plusDays(1);
|
|
|
continue;
|
|
|
}
|
|
@@ -1133,7 +1133,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
|
|
|
WhileNode:
|
|
|
while (true) {
|
|
|
- if (classGroup4MixDto.getHoliday() && !holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
+ if (classGroup4MixDto.getHoliday() && holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
now = now.plusDays(1);
|
|
|
continue;
|
|
|
}
|
|
@@ -1338,11 +1338,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
|
|
|
WhileNode:
|
|
|
while (true) {
|
|
|
- if (classGroup4MixDto.getHoliday() && !holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
- now = now.plusDays(1);
|
|
|
- continue;
|
|
|
- }
|
|
|
- if (!holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
+ if (classGroup4MixDto.getHoliday() && holidayDays.containsKey(now.format(DateTimeFormatter.ofPattern("MM-dd")))) {
|
|
|
now = now.plusDays(1);
|
|
|
continue;
|
|
|
}
|