Commit a9c07450 authored by liuyuanjun's avatar liuyuanjun

Merge branch 'meiteng-2.0' into master-1.0.2

parents c760f820 9a93a2cc
......@@ -494,6 +494,7 @@ public class BLessonPersonServiceImpl implements BLessonPersonService {
for (BLessonPerson b : result) {
//step 1 查询look表中是否有对应任何课程的点击记录
int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getBusinessId(), "0");
log.info("-----------addNew------课程查看状态2--"+ flag + "--" + b.getBusinessId() + "--" + userId +"---------------");
//step 2 存在则返回,不存在则判断时间 满足条件 setIsNew() flag <= 0 说明此用户未点击过该课程
if (flag <= 0) {
//获取课程的 指派时间
......
......@@ -1980,7 +1980,7 @@ public class BLessonServiceImpl implements BLessonService {
for (BLesson b : result) {
//step 1 查询look表中是否有对应任何课程的点击记录
int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getBusinessId(), "0");
log.info("-----------addNew------课程查看状态--"+ flag + "--" + b.getBusinessId() + "--" + userId +"---------------");
log.info("-----------addNew------课程查看状态1--"+ flag + "--" + b.getBusinessId() + "--" + userId +"---------------");
//step 2 存在则返回,不存在则判断时间 满足条件 setIsNew() 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