Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
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
licc
volunteer_service
Commits
dc3bab05
Commit
dc3bab05
authored
Mar 26, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置查询时间
parent
aee1d2c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
SchemeServiceImpl.java
...java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
+5
-0
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
View file @
dc3bab05
...
...
@@ -236,6 +236,8 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
result
=
list
.
subList
(
0
,
10
);
}
volunteerVo
.
setUserId
(
user
.
getId
());
//设置查询时间
SetQueryTime
(
result
);
volunteerVo
.
setVolunteers
(
result
);
return
R
.
ok
(
volunteerVo
);
}
...
...
@@ -256,6 +258,9 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
volunteerVo
.
setUserId
(
user
.
getId
());
assert
bool
!=
null
;
volunteerVo
.
setRecordId
(
bool
.
getData
());
//设置查询时间
SetQueryTime
(
list
);
volunteerVo
.
setVolunteers
(
list
);
volunteerVo
.
setTotal
(
list
.
size
());
return
R
.
ok
(
volunteerVo
);
...
...
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