Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-bl-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-bl-service
Commits
9d5d7079
Commit
9d5d7079
authored
Apr 22, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
黑灰名单2020.04.22_04
parent
c366a9af
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
BlackGreyListServiceImpl.java
...up/qgblservice/service/impl/BlackGreyListServiceImpl.java
+4
-4
BlackToGreyListParallel.java
...oup/qgblservice/service/impl/BlackToGreyListParallel.java
+1
-1
UpdateBlackListOverdueDayParallel.java
...rvice/service/impl/UpdateBlackListOverdueDayParallel.java
+1
-1
No files found.
src/main/java/cn/quantgroup/qgblservice/service/impl/BlackGreyListServiceImpl.java
View file @
9d5d7079
...
...
@@ -799,9 +799,9 @@ public class BlackGreyListServiceImpl implements IBlackGreyListService {
}
catch
(
Exception
e
){
e
.
printStackTrace
();
log
.
error
(
"查询结果表-黑名单列表异常, totalPage: {} , page: {} , startId: {} , endId: {} , 耗时: {} "
,
totalPage
,
page
,
startId
,
endId
,
(
System
.
currentTimeMillis
()-
thisPageStart
),
e
);
}
finally
{
}
/*
finally {
log.error("查询结果表-黑名单列表结束, totalPage: {} , page: {} , startId: {} , endId: {} , 大小: {} , 耗时: {} ", totalPage, page, startId, endId, tmpQueryList!=null?tmpQueryList.size():"null", (System.currentTimeMillis()-thisPageStart));
}
}
*/
}
log
.
info
(
"黑转灰-查询黑灰名单结果表结束, 查询大小: {} , type11大小: {} , list大小: {} , 总查询耗时: {} "
,
count_black
,
count_type_11
,
blackListResults
!=
null
?
blackListResults
.
size
():
"null"
,
(
System
.
currentTimeMillis
()-
startTime
));
...
...
@@ -913,9 +913,9 @@ public class BlackGreyListServiceImpl implements IBlackGreyListService {
}
catch
(
Exception
e
){
e
.
printStackTrace
();
log
.
error
(
"查询结果表-黑名单列表异常, totalPage: {} , page: {} , startId: {} , endId: {} , 耗时: {} "
,
totalPage
,
page
,
startId
,
endId
,
(
System
.
currentTimeMillis
()-
thisPageStart
),
e
);
}
finally
{
}
/*
finally {
log.error("查询结果表-黑名单列表结束, totalPage: {} , page: {} , startId: {} , endId: {} , 大小: {} , 耗时: {} ", totalPage, page, startId, endId, tmpQueryList!=null?tmpQueryList.size():"null", (System.currentTimeMillis()-thisPageStart));
}
}
*/
}
log
.
info
(
"更新黑名单逾期天数-查询黑灰名单结果表结束, list大小: {} , 总查询耗时: {} "
,
blackListResults
!=
null
?
blackListResults
.
size
():
"null"
,
(
System
.
currentTimeMillis
()-
startTime
));
...
...
src/main/java/cn/quantgroup/qgblservice/service/impl/BlackToGreyListParallel.java
View file @
9d5d7079
...
...
@@ -43,7 +43,7 @@ public class BlackToGreyListParallel implements ParallelComputingProcess<BlackGr
//并行处理框架
private
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>
p
=
new
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>(
"BlackToGreyListParallel"
);
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
2
;
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
4
;
@Autowired
private
BlackGreyListMapper
blackGreyListMapper
;
...
...
src/main/java/cn/quantgroup/qgblservice/service/impl/UpdateBlackListOverdueDayParallel.java
View file @
9d5d7079
...
...
@@ -44,7 +44,7 @@ public class UpdateBlackListOverdueDayParallel implements ParallelComputingProce
//并行处理框架
private
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>
p
=
new
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>(
"UpdateBlackListOverdueDay"
);
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
2
;
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
4
;
@Autowired
private
BlackGreyListMapper
blackGreyListMapper
;
...
...
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