Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
d74cb813
Commit
d74cb813
authored
Jul 16, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug29191
parent
acb2a401
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
BLessonPersonServiceImpl.java
...siness/blesson/service/impl/BLessonPersonServiceImpl.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonPersonServiceImpl.java
View file @
d74cb813
...
...
@@ -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
.
get
Business
Id
(),
"0"
);
int
flag
=
bLessonRepository
.
getCountByUserAndLesson
(
userId
,
b
.
get
Lesson
Id
(),
"0"
);
log
.
info
(
"-----------addNew------课程查看状态2--"
+
b
.
getBusinessId
()
+
"--"
+
userId
+
"--"
+
flag
+
"---------------"
);
//step 2 存在则返回,不存在则判断时间 满足条件 setIsNew() flag <= 0 说明此用户未点击过该课程
if
(
flag
<=
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment