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
3533c39c
Commit
3533c39c
authored
Dec 24, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试发布 gengdidi
parent
d1e3491e
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 @
3533c39c
...
@@ -196,7 +196,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
...
@@ -196,7 +196,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
}
}
//新增考试人员
//新增考试人员
List
<
JSONObject
>
personList
=
JSONObject
.
parseArray
(
course
.
getTestPersons
(),
JSONObject
.
class
);
List
<
JSONObject
>
personList
=
JSONObject
.
parseArray
(
course
.
getTestPersons
(),
JSONObject
.
class
);
List
<
String
>
persons
=
personList
.
stream
().
map
(
item
->(
String
)
item
.
get
(
"
staff
Id"
)).
collect
(
Collectors
.
toList
());
List
<
String
>
persons
=
personList
.
stream
().
map
(
item
->(
String
)
item
.
get
(
"
peoPle
Id"
)).
collect
(
Collectors
.
toList
());
tTrainCourseMapper
.
insertUserCourse
(
tTrainCourse
.
getCourseId
(),
persons
,
tTrainCourse
.
getPersonnelType
());
tTrainCourseMapper
.
insertUserCourse
(
tTrainCourse
.
getCourseId
(),
persons
,
tTrainCourse
.
getPersonnelType
());
tTrainCourse
.
setStatus
(
1
);
tTrainCourse
.
setStatus
(
1
);
tTrainCourse
.
setReleaseTime
(
new
Date
());
tTrainCourse
.
setReleaseTime
(
new
Date
());
...
...
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