Commit c760f820 authored by liuyuanjun's avatar liuyuanjun

Merge branch 'meiteng-2.0' into master-1.0.2

parents 037c29bd f7913ad9
...@@ -1980,6 +1980,7 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -1980,6 +1980,7 @@ public class BLessonServiceImpl implements BLessonService {
for (BLesson b : result) { for (BLesson b : result) {
//step 1 查询look表中是否有对应任何课程的点击记录 //step 1 查询look表中是否有对应任何课程的点击记录
int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getBusinessId(), "0"); int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getBusinessId(), "0");
log.info("-----------addNew------课程查看状态--"+ flag + "--" + b.getBusinessId() + "--" + userId +"---------------");
//step 2 存在则返回,不存在则判断时间 满足条件 setIsNew() flag <= 0 说明此用户未点击过该课程 //step 2 存在则返回,不存在则判断时间 满足条件 setIsNew() flag <= 0 说明此用户未点击过该课程
if (flag <= 0) { if (flag <= 0) {
//获取课程的 发布时间 //获取课程的 发布时间
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment