|
@@ -91,7 +91,7 @@ public class CourseCommentScrmController extends AppBaseController
|
|
|
PageInfo<FsUserCourseComment> defaultPageInfo= new PageInfo<>(fsUserCourseComments);
|
|
PageInfo<FsUserCourseComment> defaultPageInfo= new PageInfo<>(fsUserCourseComments);
|
|
|
try {
|
|
try {
|
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
- fsUserCourseComments = fsUserCourseCommentService.selectFsUserCourseCommentListByTypeAndCourseId(3, param.getCourseId());
|
|
|
|
|
|
|
+ fsUserCourseComments = fsUserCourseCommentService.selectFsUserCourseCommentListByTypeAndCourseId(3, param.getCourseId(),param.getVideoId());
|
|
|
defaultPageInfo = new PageInfo<>(fsUserCourseComments);
|
|
defaultPageInfo = new PageInfo<>(fsUserCourseComments);
|
|
|
} catch (Exception ignore) {}
|
|
} catch (Exception ignore) {}
|
|
|
|
|
|
|
@@ -114,7 +114,7 @@ public class CourseCommentScrmController extends AppBaseController
|
|
|
PageInfo<FsUserCourseComment> defaultPageInfo= new PageInfo<>(fsUserCourseComments);
|
|
PageInfo<FsUserCourseComment> defaultPageInfo= new PageInfo<>(fsUserCourseComments);
|
|
|
try {
|
|
try {
|
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
- fsUserCourseComments = fsUserCourseCommentService.selectFsUserCourseCommentListByTypeAndCourseId(3, param.getCourseId());
|
|
|
|
|
|
|
+ fsUserCourseComments = fsUserCourseCommentService.selectFsUserCourseCommentListByTypeAndCourseId(3, param.getCourseId(),param.getVideoId());
|
|
|
defaultPageInfo = new PageInfo<>(fsUserCourseComments);
|
|
defaultPageInfo = new PageInfo<>(fsUserCourseComments);
|
|
|
} catch (Exception ignore) {}
|
|
} catch (Exception ignore) {}
|
|
|
return R.ok().put("data",listPageInfo).put("defaultPageInfo",defaultPageInfo);
|
|
return R.ok().put("data",listPageInfo).put("defaultPageInfo",defaultPageInfo);
|