Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
0fe78918
Commit
0fe78918
authored
Jan 29, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加窗口编码
parent
6a478f5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformServiceImpl.java
.../module/window/service/impl/WindowPerformServiceImpl.java
+6
-5
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformServiceImpl.java
View file @
0fe78918
...
...
@@ -24,10 +24,7 @@ import com.mortals.xhx.module.window.service.WindowPerformService;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.util.ObjectUtils
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -114,7 +111,7 @@ public class WindowPerformServiceImpl extends AbstractCRUDServiceImpl<WindowPerf
@Override
public
Rest
<
List
<
WindowPerformAllVo
>>
getAllList
(
WindowPerformQuery
query
,
Context
context
)
{
Array
List
<
WindowPerformAllVo
>
allList
=
new
ArrayList
<>();
List
<
WindowPerformAllVo
>
allList
=
new
ArrayList
<>();
query
.
setOwnerId
(
context
.
getUser
().
getCustomerId
());
List
<
WindowPerformEntity
>
windowPerformEntities
=
this
.
find
(
query
,
context
);
if
(!
ObjectUtils
.
isEmpty
(
windowPerformEntities
))
{
...
...
@@ -146,6 +143,10 @@ public class WindowPerformServiceImpl extends AbstractCRUDServiceImpl<WindowPerf
}).
collect
(
Collectors
.
toList
());
allList
.
addAll
(
collect
);
}
allList
=
allList
.
stream
().
sorted
(
Comparator
.
comparing
(
WindowPerformAllVo:
:
getFillDate
)).
collect
(
Collectors
.
toList
());
return
Rest
.
ok
(
allList
);
}
}
\ No newline at end of file
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