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
63a32eb7
Commit
63a32eb7
authored
Feb 22, 2022
by
Mindfaker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7a18ea14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
StudentPointService.java
...ploring/engine/server/db/service/StudentPointService.java
+1
-1
No files found.
server-db/src/main/java/cn/exploring/engine/server/db/service/StudentPointService.java
View file @
63a32eb7
...
...
@@ -28,7 +28,7 @@ public class StudentPointService {
public
Map
selectPointByWeb
(
String
studentName
,
String
studentUniqueId
,
Integer
classId
,
String
startTime
,
String
endTime
,
Integer
page
,
Integer
limit
,
String
sort
,
String
order
)
{
List
<
Map
>
dataList
=
specialSqlMapper
.
selectPoint
(
studentName
,
studentUniqueId
,
classId
,
startTime
,
endTime
,
page
,
limit
,
sort
,
order
);
Map
<
String
,
String
>
countInfoData
=
specialSqlMapper
.
selectPointCount
(
studentName
,
studentUniqueId
,
classId
,
startTime
,
endTime
);
Integer
countInfo
=
StringUtils
.
isEmpty
(
countInfoData
.
get
(
"count_info"
))
?
0
:
Integer
.
parseInt
(
countInfoData
.
get
(
"count_info"
).
toString
());
Long
countInfo
=
StringUtils
.
isEmpty
(
countInfoData
.
get
(
"count_info"
))
?
0L
:
Long
.
parseLong
(
countInfoData
.
get
(
"count_info"
).
toString
());
List
<
Map
>
targetDataList
=
dataList
.
stream
().
map
((
Function
<
Map
,
Map
>)
Util:
:
exchangeMapKeyName
).
collect
(
Collectors
.
toList
());
return
new
HashMap
()
{{
put
(
"items"
,
targetDataList
);
...
...
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