|
@@ -451,7 +451,7 @@ public class AppCoureseServiceImpl extends ServiceImpl<AppCoursesMapper, AppCour
|
|
|
verificationRecord.setVerifyStatus(CommonConstant.STATUS_0_INT);
|
|
|
verificationRecord.setCoursesType(CommonConstant.STATUS_1_INT);
|
|
|
appCoursesVerificationRecordMapper.insert(verificationRecord);
|
|
|
- JobExtendedClassNoticeVo jobExtendedClassNoticeVo = priceRulesMapper.findByClassPrice(familyMembers.getId());
|
|
|
+ JobExtendedClassNoticeVo jobExtendedClassNoticeVo = priceRulesMapper.findByClassPrice(familyMembers.getId(),coursesPriceRules.getId());
|
|
|
if (jobExtendedClassNoticeVo==null||StringUtils.isEmpty(jobExtendedClassNoticeVo.getUserOpenId())|| StringUtils.isEmpty(jobExtendedClassNoticeVo.getSiteName())){
|
|
|
continue;
|
|
|
}
|
|
@@ -459,7 +459,10 @@ public class AppCoureseServiceImpl extends ServiceImpl<AppCoursesMapper, AppCour
|
|
|
jobExtendedClassNoticeVos.add(jobExtendedClassNoticeVo);
|
|
|
|
|
|
}
|
|
|
- wxNotificationService.extendedClassesJob(jobExtendedClassNoticeVos);
|
|
|
+ if (!jobExtendedClassNoticeVos.isEmpty()){
|
|
|
+ wxNotificationService.extendedClassesJob(jobExtendedClassNoticeVos);
|
|
|
+ }
|
|
|
+
|
|
|
return Boolean.TRUE;
|
|
|
}
|
|
|
|