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
e7b9c75b
Commit
e7b9c75b
authored
Dec 22, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试接口问题修改 gengdidi
parent
0b3bcb91
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
TTrainCourseController.java
...m/zehong/web/controller/train/TTrainCourseController.java
+1
-1
TTrainCourseServiceImpl.java
...m/zehong/system/service/impl/TTrainCourseServiceImpl.java
+1
-1
lessonsProgram.js
...er-manage-web/src/api/educationPlanExam/lessonsProgram.js
+2
-2
No files found.
danger-manage-admin/src/main/java/com/zehong/web/controller/train/TTrainCourseController.java
View file @
e7b9c75b
...
...
@@ -165,7 +165,7 @@ public class TTrainCourseController extends BaseController
* @param courseId 考试id
* @return List<TTrainUserCourse>
*/
@PostMapping
(
value
=
"
statisticsTrainCourse
"
)
@PostMapping
(
value
=
"
testPersonDetailByCourseId
"
)
public
TableDataInfo
testPersonDetailByCourseId
(
Long
courseId
){
startPage
();
List
<
TTrainUserCourse
>
persons
=
tTrainCourseService
.
testPersonDetailByCourseId
(
courseId
);
...
...
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseServiceImpl.java
View file @
e7b9c75b
...
...
@@ -197,7 +197,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
//新增考试人员
List
<
JSONObject
>
personList
=
JSONObject
.
parseArray
(
course
.
getTestPersons
(),
JSONObject
.
class
);
List
<
String
>
persons
=
personList
.
stream
().
map
(
item
->(
String
)
item
.
get
(
"staffId"
)).
collect
(
Collectors
.
toList
());
tTrainCourseMapper
.
insertUserCourse
(
tTrainCourse
.
getCourseId
(),
persons
);
tTrainCourseMapper
.
insertUserCourse
(
tTrainCourse
.
getCourseId
(),
persons
,
tTrainCourse
.
getPersonnelType
()
);
tTrainCourse
.
setStatus
(
1
);
tTrainCourse
.
setReleaseTime
(
new
Date
());
return
tTrainCourseMapper
.
updateTTrainCourse
(
tTrainCourse
);
...
...
danger-manage-web/src/api/educationPlanExam/lessonsProgram.js
View file @
e7b9c75b
...
...
@@ -151,9 +151,9 @@ export function statisticsTrainCourse(data) {
}
//成绩详情
export
function
statisticsTrainCourse
(
data
)
{
export
function
testPersonDetailByCourseId
(
data
)
{
return
request
({
url
:
'/system/course/
statisticsTrainCourse
'
,
url
:
'/system/course/
testPersonDetailByCourseId
'
,
method
:
'post'
,
data
:
data
})
...
...
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