Commit d74cb813 authored by liuyuanjun's avatar liuyuanjun

修改bug29191

parent acb2a401
......@@ -493,7 +493,7 @@ public class BLessonPersonServiceImpl implements BLessonPersonService {
int time = Integer.parseInt(newNotice.getTimeValue());
for (BLessonPerson b : result) {
//step 1 查询look表中是否有对应任何课程的点击记录
int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getBusinessId(), "0");
int flag = bLessonRepository.getCountByUserAndLesson(userId, b.getLessonId(), "0");
log.info("-----------addNew------课程查看状态2--" + b.getBusinessId() + "--" + userId + "--" + flag +"---------------");
//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