Browse Source

Merge branch 'zx_online_update_1218' of http://git.dayaedu.com/yonge/cooleshow into develop-new

zouxuan 7 tháng trước cách đây
mục cha
commit
1349277821

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/CourseScheduleServiceImpl.java

@@ -1472,7 +1472,7 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
 
         //查询是否有人购买
         List<CourseScheduleStudentPayment> studentPayments = paymentDao.queryByCourseId(courseId.longValue());
-        if (CollectionUtils.isNotEmpty(studentPayments)) {
+        if (CollectionUtils.isEmpty(studentPayments)) {
             throw new BizException("课程无人购买");
         }