Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
practical_train
Commits
11716202
Commit
11716202
authored
Aug 10, 2026
by
wujipeng
Browse files
优化
parent
21b28131
Changes
2
Hide whitespace changes
Inline
Side-by-side
practical-business/src/main/java/com/platform/business/controller/ExamController.java
View file @
11716202
...
@@ -120,19 +120,19 @@ public class ExamController extends BaseController {
...
@@ -120,19 +120,19 @@ public class ExamController extends BaseController {
return
Result
.
data
(
examService
.
gradesDetail
(
id
));
return
Result
.
data
(
examService
.
gradesDetail
(
id
));
}
}
@ApiOperation
(
value
=
"
考试中心
-我的成绩-汇总"
)
@ApiOperation
(
value
=
"
学生端-学习中心-详情
-我的成绩-汇总"
)
@GetMapping
(
"/grades/summary/{id}"
)
@GetMapping
(
"/grades/summary/{id}"
)
public
Result
<
ExamStudentVO
>
gradesSummary
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
public
Result
<
ExamStudentVO
>
gradesSummary
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
return
Result
.
data
(
examService
.
gradesSummary
(
id
));
return
Result
.
data
(
examService
.
gradesSummary
(
id
));
}
}
@ApiOperation
(
value
=
"
考试中心
-我的成绩-成绩分析"
)
@ApiOperation
(
value
=
"
学生端-学习中心-详情
-我的成绩-成绩分析"
)
@GetMapping
(
"/grades/analysis/{id}"
)
@GetMapping
(
"/grades/analysis/{id}"
)
public
Result
<
Map
<
String
,
ExamStudentVO
>>
gradesAnalysis
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
public
Result
<
Map
<
String
,
ExamStudentVO
>>
gradesAnalysis
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
return
Result
.
data
(
examService
.
gradesAnalysis
(
id
));
return
Result
.
data
(
examService
.
gradesAnalysis
(
id
));
}
}
@ApiOperation
(
value
=
"
考试中心
-我的成绩-考试统计"
)
@ApiOperation
(
value
=
"
学生端-学习中心-详情
-我的成绩-考试统计"
)
@GetMapping
(
"/grades/statistics/{id}"
)
@GetMapping
(
"/grades/statistics/{id}"
)
public
Result
<
ExamStudentVO
>
gradesStatistics
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
public
Result
<
ExamStudentVO
>
gradesStatistics
(
@PathVariable
(
name
=
"id"
)
String
id
)
{
return
Result
.
data
(
examService
.
gradesStatistics
(
id
));
return
Result
.
data
(
examService
.
gradesStatistics
(
id
));
...
...
practical-business/src/main/java/com/platform/business/controller/ExamStudentController.java
View file @
11716202
...
@@ -19,14 +19,14 @@ public class ExamStudentController extends BaseController {
...
@@ -19,14 +19,14 @@ public class ExamStudentController extends BaseController {
@Resource
@Resource
private
ExamStudentService
examStudentService
;
private
ExamStudentService
examStudentService
;
@ApiOperation
(
value
=
"我的成绩-成绩明细"
)
@ApiOperation
(
value
=
"
学生端-学习中心-
我的成绩-成绩明细"
)
@PostMapping
(
"/page"
)
@PostMapping
(
"/page"
)
public
TableDataInfo
page
(
@RequestBody
ExamStudentDTO
examStudentDTO
)
{
public
TableDataInfo
page
(
@RequestBody
ExamStudentDTO
examStudentDTO
)
{
startPage
(
examStudentDTO
.
getPageNum
(),
examStudentDTO
.
getPageSize
());
startPage
(
examStudentDTO
.
getPageNum
(),
examStudentDTO
.
getPageSize
());
return
getDataTable
(
examStudentService
.
page
(
examStudentDTO
));
return
getDataTable
(
examStudentService
.
page
(
examStudentDTO
));
}
}
@ApiOperation
(
value
=
"我的成绩-汇总"
)
@ApiOperation
(
value
=
"
学生端-学习中心-
我的成绩-汇总"
)
@GetMapping
(
"/summary/{studentId}"
)
@GetMapping
(
"/summary/{studentId}"
)
public
Result
<
Map
<
String
,
String
>>
summary
(
@PathVariable
String
studentId
)
{
public
Result
<
Map
<
String
,
String
>>
summary
(
@PathVariable
String
studentId
)
{
return
Result
.
data
(
examStudentService
.
summary
(
studentId
));
return
Result
.
data
(
examStudentService
.
summary
(
studentId
));
...
...
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