Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
43673024
Commit
43673024
authored
Mar 22, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已完成过期判断
parent
ba1cb24b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TTrainCourseServiceImpl.java
...m/zehong/system/service/impl/TTrainCourseServiceImpl.java
+1
-1
No files found.
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseServiceImpl.java
View file @
43673024
...
...
@@ -207,7 +207,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
public
List
<
UserCourseVo
>
userCourseList
(
Long
userId
,
Integer
type
){
List
<
UserCourseVo
>
list
=
tTrainCourseMapper
.
userCourseList
(
userId
,
type
,
1
);
for
(
UserCourseVo
v
:
list
){
if
(
v
.
getTestEndTime
()!=
null
&&
v
.
getTestEndTime
().
getTime
()<
new
Date
().
getTime
()){
if
(
v
.
getTestEndTime
()!=
null
&&
v
.
getTestEndTime
().
getTime
()<
new
Date
().
getTime
()
&&
v
.
getState
()!=
2
){
v
.
setState
(
3
);
}
if
(
v
.
getTestStartTime
()!=
null
&&
v
.
getTestStartTime
().
getTime
()>
new
Date
().
getTime
()){
...
...
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