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
3aeab2fa
Commit
3aeab2fa
authored
Feb 02, 2023
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常处理
parent
72494017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
TTrainCourseServiceImpl.java
...m/zehong/system/service/impl/TTrainCourseServiceImpl.java
+5
-1
No files found.
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseServiceImpl.java
View file @
3aeab2fa
...
...
@@ -67,7 +67,11 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
return
0
;
}
List
<
String
>
userIds
=
tTrainPlanMapper
.
selectAlluserByplanId
(
course
.
getCourseType
());
tTrainCourseMapper
.
insertUserCourse
(
courseId
,
userIds
,
course
.
getPersonnelType
());
//异常数据
if
(
userIds
==
null
||
userIds
.
size
()==
0
){
return
0
;
}
tTrainCourseMapper
.
insertUserCourse
(
courseId
,
userIds
,
course
.
getPersonnelType
());
course
.
setStatus
(
1
);
course
.
setReleaseTime
(
new
Date
());
return
tTrainCourseMapper
.
updateTTrainCourse
(
course
);
...
...
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