|
@@ -206,7 +206,7 @@ public class FsUserCourseVideoController extends AppBaseController {
|
|
|
@GetMapping("/todayCourseList")
|
|
|
@ApiOperation("今日课程")
|
|
|
public ResponseResult<PageInfo<FsUserCourseVideoPageListVO>> todayCourseList(@RequestParam(defaultValue = "1") Integer pageNum,
|
|
|
- @RequestParam(defaultValue = "10") Integer pageSize) {
|
|
|
+ @RequestParam(defaultValue = "10") Integer pageSize, String keyword) {
|
|
|
Long companyId = getCompanyId();
|
|
|
if (Objects.isNull(companyId)) {
|
|
|
ResponseResult.fail(400, "未获取到公司ID,请重新登录后再试");
|
|
@@ -216,6 +216,7 @@ public class FsUserCourseVideoController extends AppBaseController {
|
|
|
params.put("companyId", companyId);
|
|
|
// params.put("dayDate", LocalDate.now());
|
|
|
params.put("companyUserId", Long.parseLong(getUserId()));
|
|
|
+ params.put("keyword", keyword);
|
|
|
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
List<FsUserCourseVideoPageListVO> list = fsUserCourseVideoService.selectCourseVideoListByMap(params);
|