Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 97d62065
authored
May 16, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
V1.7.0需求:运营报表 多线程批量解析地址
1 parent
06576e8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/com/glsx/admin/modules/service/OpereportService.java
src/main/java/cn/com/glsx/admin/modules/service/OpereportService.java
View file @
97d6206
...
@@ -185,7 +185,7 @@ public class OpereportService extends AbstractCommonService {
...
@@ -185,7 +185,7 @@ public class OpereportService extends AbstractCommonService {
log
.
info
(
"总处理条数:{},总处理批次:{},开始处理第{}批({})"
,
dataList
.
size
(),
partList
.
size
(),
i
,
subSnList
.
size
());
log
.
info
(
"总处理条数:{},总处理批次:{},开始处理第{}批({})"
,
dataList
.
size
(),
partList
.
size
(),
i
,
subSnList
.
size
());
CompletableFuture
<
Map
<
String
,
GpsBsData
>>
completableFuture
=
CompletableFuture
.
supplyAsync
(()
->
remoteGpsBsService
.
getLastGpsBsBySns
(
subSnList
),
threadPoolTaskExecutor
)
CompletableFuture
<
Map
<
String
,
GpsBsData
>>
completableFuture
=
CompletableFuture
.
supplyAsync
(()
->
remoteGpsBsService
.
getLastGpsBsB
atchB
ySns
(
subSnList
),
threadPoolTaskExecutor
)
.
exceptionally
(
Error
->
Maps
.
newHashMap
());
.
exceptionally
(
Error
->
Maps
.
newHashMap
());
futures
[
i
]
=
completableFuture
;
futures
[
i
]
=
completableFuture
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment