|
@@ -1,5 +1,6 @@
|
|
|
package com.fs.course.service.impl;
|
|
|
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
import cn.hutool.http.HttpRequest;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
@@ -621,6 +622,17 @@ public class FsCourseWatchLogServiceImpl extends ServiceImpl<FsCourseWatchLogMap
|
|
|
|
|
|
@Override
|
|
|
public List<FsCourseWatchLogListVO> selectFsCourseWatchLogListVO(FsCourseWatchLogListParam param) {
|
|
|
+ // 待看课-未注册
|
|
|
+ if(ObjectUtil.equal(param.getLogType(),5)){
|
|
|
+ param.setLogType(3);
|
|
|
+ param.setIsVip(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ // 待看课-已注册
|
|
|
+ if(ObjectUtil.equal(param.getLogType(),6)){
|
|
|
+ param.setLogType(3);
|
|
|
+ param.setIsVip(1);
|
|
|
+ }
|
|
|
|
|
|
List<FsCourseWatchLogListVO> fsCourseWatchLogListVOS = fsCourseWatchLogMapper.selectFsCourseWatchLogListVO(param);
|
|
|
List<FsUserCoursePeriod> fsUserCoursePeriods = userCoursePeriodService.selectFsUserCoursePeriodList(new FsUserCoursePeriod());
|