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
163d557b
Commit
163d557b
authored
Mar 17, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单一培训,完成修改状态
parent
fcefa992
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
TTrainCourseServiceImpl.java
...m/zehong/system/service/impl/TTrainCourseServiceImpl.java
+8
-0
No files found.
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseServiceImpl.java
View file @
163d557b
...
@@ -129,6 +129,14 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
...
@@ -129,6 +129,14 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
@Override
@Override
public
int
updateTTrainUserCourse
(
TTrainUserCourse
tTrainUserCourse
)
public
int
updateTTrainUserCourse
(
TTrainUserCourse
tTrainUserCourse
)
{
{
//判断有没有考试
if
(
tTrainUserCourse
.
getTrainState
()==
1
){
List
<
TTrainCourseTopic
>
topicList
=
tTrainCourseTopicMapper
.
selectCourseTopicList
(
tTrainUserCourse
.
getCourseId
());
if
(
topicList
.
size
()==
0
){
tTrainUserCourse
.
setState
(
2
);
}
}
return
tTrainUserCourseMapper
.
updateTTrainUserCourse
(
tTrainUserCourse
);
return
tTrainUserCourseMapper
.
updateTTrainUserCourse
(
tTrainUserCourse
);
}
}
...
...
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