|
@@ -2499,7 +2499,11 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
- weekNumApplyTimesMap.put(courseStartTime.getDayOfWeek().getValue(), applyTimeStrs);
|
|
|
+ if(CollectionUtils.isEmpty(applyTimeStrs)){
|
|
|
+ weekNumApplyTimesMap.remove(courseStartTime.getDayOfWeek().getValue());
|
|
|
+ }else{
|
|
|
+ weekNumApplyTimesMap.put(courseStartTime.getDayOfWeek().getValue(), applyTimeStrs);
|
|
|
+ }
|
|
|
}
|
|
|
if(weekNumApplyTimesMap.size()<=1){
|
|
|
weekNumApplyTimesMap=new HashMap<>();
|