|
@@ -737,7 +737,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
}
|
|
|
|
|
|
//修改商品课程节观看权限
|
|
|
- List<CourseMenuAddBo> menuList = bo.getMenuList();
|
|
|
+ /* List<CourseMenuAddBo> menuList = bo.getMenuList();
|
|
|
if (CollectionUtils.isEmpty(menuList)) {
|
|
|
//商品下没有课程/节
|
|
|
iCourseSectionWatchPerService.update(new LambdaUpdateWrapper<CourseSectionWatchPer>()
|
|
@@ -750,7 +750,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
.set(CourseSectionWatchPer::getStatus, 0)
|
|
|
.eq(CourseSectionWatchPer::getGoodsId, bo.getGoodsId())
|
|
|
.notIn(CourseSectionWatchPer::getCourseId, courseIds));
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
return this.updateById(update);
|
|
|
}
|