|
@@ -3,12 +3,14 @@ package com.fs.app.controller;
|
|
|
import com.fs.common.BeanCopyUtils;
|
|
|
import com.fs.common.core.controller.BaseController;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
+import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.exception.CustomException;
|
|
|
import com.fs.course.param.FsCourseListBySidebarParam;
|
|
|
import com.fs.qw.domain.QwExternalContactInfo;
|
|
|
import com.fs.qw.domain.QwTagGroup;
|
|
|
import com.fs.qw.domain.QwUser;
|
|
|
import com.fs.qw.param.ExternalContactDetailsParam;
|
|
|
+import com.fs.qw.param.QwExtCourseSopWatchLog;
|
|
|
import com.fs.qw.param.sidebar.ExternalContactInfoParam;
|
|
|
import com.fs.qw.param.sidebar.TagGroupListParam;
|
|
|
import com.fs.qw.param.sidebar.TagGroupUpdateParam;
|
|
@@ -119,11 +121,15 @@ public class ApisQwUserController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @GetMapping("/extCourseSopWatchLog")
|
|
|
+ @PostMapping("/extCourseSopWatchLog")
|
|
|
@ApiOperation("获取外部联系人按照 营期天数 获取到的今天该看的课")
|
|
|
- public R getExtCourseSopWatchLog(@RequestParam(value = "qwExternalContactId") Long qwExternalContactId) {
|
|
|
- List<ExtCourseSopWatchLogVO> tagList = iSopUserLogsInfoService.getExtCourseSopWatchLog(qwExternalContactId);
|
|
|
- return R.ok().put("data", tagList);
|
|
|
+ public R getExtCourseSopWatchLog(@RequestBody QwExtCourseSopWatchLog param) {
|
|
|
+
|
|
|
+ PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
+ List<ExtCourseSopWatchLogVO> list = iSopUserLogsInfoService.getExtCourseSopWatchLog(param);
|
|
|
+ PageInfo<ExtCourseSopWatchLogVO> result = new PageInfo<>(list);
|
|
|
+
|
|
|
+ return R.ok().put("data", result);
|
|
|
}
|
|
|
|
|
|
@GetMapping("/externalContact")
|