Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
engine-class-work
Project
Project
Details
Activity
Releases
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
liuchengjiu
engine-class-work
Commits
16ee9c0a
Commit
16ee9c0a
authored
Feb 10, 2022
by
Mindfaker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e9c91c11
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SpecialSqlMapper.java
...a/cn/exploring/engine/server/db/dao/SpecialSqlMapper.java
+1
-1
StudentController.java
.../cn/exploring/engine/server/wx/web/StudentController.java
+2
-2
No files found.
server-db/src/main/java/cn/exploring/engine/server/db/dao/SpecialSqlMapper.java
View file @
16ee9c0a
...
@@ -223,7 +223,7 @@ public interface SpecialSqlMapper {
...
@@ -223,7 +223,7 @@ public interface SpecialSqlMapper {
" ) point_info ON target_stu.id = point_info.student_id) t1 "
+
" ) point_info ON target_stu.id = point_info.student_id) t1 "
+
" LEFT JOIN (SELECT id, class_name FROM class_info WHERE deleted = FALSE ) t2 ON t1.class_id = t2.id"
+
" LEFT JOIN (SELECT id, class_name FROM class_info WHERE deleted = FALSE ) t2 ON t1.class_id = t2.id"
+
"ORDER by ${sort} ${order} "
+
"ORDER by ${sort} ${order} "
+
"LIMIT ${(page - 1) *
size}, ${page * size
} "
+
"LIMIT ${(page - 1) *
limit}, ${page * limit
} "
+
"</script>"
"</script>"
)
)
List
<
Map
>
selectPoint
(
@Param
(
"studentName"
)
String
studentName
,
@Param
(
"studentUniqueId"
)
String
studentUniqueId
,
List
<
Map
>
selectPoint
(
@Param
(
"studentName"
)
String
studentName
,
@Param
(
"studentUniqueId"
)
String
studentUniqueId
,
...
...
server-wx-api/src/main/java/cn/exploring/engine/server/wx/web/StudentController.java
View file @
16ee9c0a
...
@@ -19,10 +19,10 @@ public class StudentController {
...
@@ -19,10 +19,10 @@ public class StudentController {
@GetMapping
(
"selectStudent"
)
@GetMapping
(
"selectStudent"
)
public
Object
selectClass
(
@RequestParam
String
studentName
,
@RequestParam
String
studentId
,
@RequestParam
Integer
classId
,
public
Object
selectClass
(
@RequestParam
String
studentName
,
@RequestParam
String
student
Unique
Id
,
@RequestParam
Integer
classId
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
page
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
limit
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Integer
page
,
@RequestParam
(
required
=
false
,
defaultValue
=
"10"
)
Integer
limit
,
@RequestParam
(
required
=
false
,
defaultValue
=
"add_time"
)
String
sort
,
@RequestParam
(
required
=
false
,
defaultValue
=
"desc"
)
String
order
)
{
@RequestParam
(
required
=
false
,
defaultValue
=
"add_time"
)
String
sort
,
@RequestParam
(
required
=
false
,
defaultValue
=
"desc"
)
String
order
)
{
return
ResponseUtil
.
ok
(
studentInfoService
.
selectStudentInfoByWeb
(
studentName
,
studentId
,
null
,
classId
,
page
,
limit
,
sort
,
order
));
return
ResponseUtil
.
ok
(
studentInfoService
.
selectStudentInfoByWeb
(
studentName
,
student
Unique
Id
,
null
,
classId
,
page
,
limit
,
sort
,
order
));
}
}
@GetMapping
(
"randomSelect"
)
@GetMapping
(
"randomSelect"
)
...
...
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