|
|
@@ -138,7 +138,9 @@ public class CommercialController {
|
|
|
|
|
|
List<AppCoursesVerificationRecord> temporaryCourseList =
|
|
|
appCoursesVerificationRecordService.queryTemporaryCourseUser(form.getCoursePriceRulesId(),form.getOrPostpone(),form.getVerifyStatus(),loginUser.getId());
|
|
|
- verificationRecords.addAll(temporaryCourseList);
|
|
|
+ if(CollUtil.isNotEmpty(temporaryCourseList)){
|
|
|
+ verificationRecords.addAll(temporaryCourseList);
|
|
|
+ }
|
|
|
List<AppCoursesVerificationRecord> list = verificationRecords.stream()
|
|
|
.collect(Collectors.collectingAndThen(
|
|
|
Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(AppCoursesVerificationRecord::getUseUserId))),
|