Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
dae12259
Commit
dae12259
authored
Jun 18, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020.06.18 暂时先注掉,补报 2020-06-11到2020-06-18的还款
parent
32867cd8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
BaiHangZhuDaiService.java
...antgroup/report/service/baihang/BaiHangZhuDaiService.java
+13
-8
No files found.
src/main/java/cn/quantgroup/report/service/baihang/BaiHangZhuDaiService.java
View file @
dae12259
...
...
@@ -407,6 +407,7 @@ public class BaiHangZhuDaiService {
log
.
info
(
"量化派助贷TO百行报送-联合贷实时还款, startnyr: {} , endnyr: {} , 大小: {} , 耗时: {} "
,
startnyr
,
endnyr
,
repaymentLoanInfosLh
.
size
(),
(
realTimeStopWatch2
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
)
/
1000
)
+
".s"
);
}
else
{
/* 2020.06.18 暂时先注掉,补报 2020-06-11到2020-06-18的还款
Stopwatch realTimeOverdueStopWatch3 = Stopwatch.createStarted();
//repaymentLoanInfos = repaymentLoanInfoMapper.findRealTimeRepayMentOverdue(timeRecord);
//2020.06.18 方法findRealTimeRepayMentOverdue用in查询已经慢的查不出,用等于吧
...
...
@@ -417,7 +418,8 @@ public class BaiHangZhuDaiService {
Stopwatch realTimeOverdueStopWatch4 = Stopwatch.createStarted();
repaymentLoanInfosLh = repaymentLoanInfoMapper.findRealTimeRepayMentOverdueLh(timeRecord);
log.info("量化派助贷TO百行报送-联合贷实时还款逾期, startnyr: {} , endnyr: {} , 大小: {} , 耗时: {} ", startnyr, endnyr, repaymentLoanInfosLh.size(), (realTimeOverdueStopWatch4.stop().elapsed(TimeUnit.MILLISECONDS) / 1000) + ".s");
*/
continue
;
}
if
(
repaymentLoanInfos
==
null
)
{
...
...
@@ -517,7 +519,7 @@ public class BaiHangZhuDaiService {
dingTalk
.
talk
(
"Error"
,
"量化派助贷TO百行报送-"
+(
j
==
0
?
"还款"
:
"逾期"
)+
"信息异常"
,
e
);
}
}
log
.
info
(
"量化派助贷TO百行报送-实时还款&逾期结束, resMsg: {} "
,
resMsg
);
return
resMsg
;
}
...
...
@@ -2341,48 +2343,51 @@ public class BaiHangZhuDaiService {
//2020.06.18 3.1百行助贷-非联合贷 实时还款
private
List
<
RepaymentInfoZhuDai
>
findRealTimeRepayMentInfoByFCId
(
String
startnyr
,
String
endnyr
)
throws
Exception
{
List
<
RepaymentInfoZhuDai
>
allRepaymentLoanInfo
=
new
ArrayList
<>();
log
.
info
(
"
百行助贷-非联合贷还款查询, 按资方id查询开始, startnyr: {} , endnyr: {} , fundingCorpIds: {} "
,
startnyr
,
endnyr
,
fundingCorpIds
.
toString
(
));
log
.
info
(
"
非联合贷还款-按资方id查询开始, startnyr: {} , endnyr: {} , fundingCorpIds: {} >>>>>>"
,
startnyr
,
endnyr
,
JSON
.
toJSONString
(
fundingCorpIds
));
for
(
Integer
fundingCorpId
:
fundingCorpIds
)
{
try
{
long
start
=
System
.
currentTimeMillis
();
BaiHangTimeRecord
params
=
BaiHangTimeRecord
.
builder
().
startTime
(
startnyr
).
endTime
(
endnyr
).
eqFundingCorpId
(
fundingCorpId
).
build
();
List
<
RepaymentInfoZhuDai
>
tmpList
=
repaymentLoanInfoMapper
.
findRealTimeRepayMentInfo_byFCId
(
params
);
log
.
info
(
"
百行助贷-非联合贷还款查询,
按资方id查询结束, fundingCorpId: {} , 大小: {} , 耗时: {} "
,
fundingCorpId
,
tmpList
!=
null
?
tmpList
.
size
():
0
,
(
System
.
currentTimeMillis
()-
start
));
log
.
info
(
"
非联合贷还款-
按资方id查询结束, fundingCorpId: {} , 大小: {} , 耗时: {} "
,
fundingCorpId
,
tmpList
!=
null
?
tmpList
.
size
():
0
,
(
System
.
currentTimeMillis
()-
start
));
if
(
tmpList
!=
null
&&
tmpList
.
size
()>
0
){
allRepaymentLoanInfo
.
addAll
(
tmpList
);
}
}
catch
(
Exception
e
){
log
.
error
(
"
百行助贷-非联合贷还款查询,
按资方id查询异常, fundingCorpId: {} "
,
fundingCorpId
,
e
);
log
.
error
(
"
非联合贷还款-
按资方id查询异常, fundingCorpId: {} "
,
fundingCorpId
,
e
);
allRepaymentLoanInfo
=
null
;
throw
e
;
}
}
log
.
info
(
"非联合贷还款-按资方id查询结束All, startnyr: {} , endnyr: {} , fundingCorpIds: {} , 大小: {} <<<<<<"
,
startnyr
,
endnyr
,
JSON
.
toJSONString
(
fundingCorpIds
),
allRepaymentLoanInfo
!=
null
?
allRepaymentLoanInfo
.
size
():
0
);
return
allRepaymentLoanInfo
;
}
//2020.06.18 4.1百行助贷-非联合贷 实时逾期还款
private
List
<
RepaymentInfoZhuDai
>
findRealTimeRepayMentOverdueByFCId
(
String
startnyr
,
String
endnyr
)
throws
Exception
{
List
<
RepaymentInfoZhuDai
>
allRepaymentLoanInfo
=
new
ArrayList
<>();
log
.
info
(
"
百行助贷-非联合贷逾期查询, 按资方id查询开始, startnyr: {} , endnyr: {} , fundingCorpIds: {} "
,
startnyr
,
endnyr
,
fundingCorpIds
.
toString
(
));
log
.
info
(
"
非联合贷逾期按资方id查询开始, startnyr: {} , endnyr: {} , fundingCorpIds: {} >>>>>>"
,
startnyr
,
endnyr
,
JSON
.
toJSONString
(
fundingCorpIds
));
for
(
Integer
fundingCorpId
:
fundingCorpIds
)
{
try
{
long
start
=
System
.
currentTimeMillis
();
BaiHangTimeRecord
params
=
BaiHangTimeRecord
.
builder
().
startTime
(
startnyr
).
endTime
(
endnyr
).
eqFundingCorpId
(
fundingCorpId
).
build
();
List
<
RepaymentInfoZhuDai
>
tmpList
=
repaymentLoanInfoMapper
.
findRealTimeRepayMentOverdue_byFCId
(
params
);
log
.
info
(
"
百行助贷-非联合贷逾期查询,
按资方id查询结束, fundingCorpId: {} , 大小: {} , 耗时: {} "
,
fundingCorpId
,
tmpList
!=
null
?
tmpList
.
size
():
0
,
(
System
.
currentTimeMillis
()-
start
));
log
.
info
(
"
非联合贷逾期
按资方id查询结束, fundingCorpId: {} , 大小: {} , 耗时: {} "
,
fundingCorpId
,
tmpList
!=
null
?
tmpList
.
size
():
0
,
(
System
.
currentTimeMillis
()-
start
));
if
(
tmpList
!=
null
&&
tmpList
.
size
()>
0
){
allRepaymentLoanInfo
.
addAll
(
tmpList
);
}
}
catch
(
Exception
e
){
log
.
error
(
"
百行助贷-非联合贷逾期查询,
按资方id查询异常, fundingCorpId: {} "
,
fundingCorpId
,
e
);
log
.
error
(
"
非联合贷逾期
按资方id查询异常, fundingCorpId: {} "
,
fundingCorpId
,
e
);
allRepaymentLoanInfo
=
null
;
throw
e
;
}
}
log
.
info
(
"非联合贷逾期按资方id查询结束All, startnyr: {} , endnyr: {} , fundingCorpIds: {} , 大小: {} <<<<<<"
,
startnyr
,
endnyr
,
JSON
.
toJSONString
(
fundingCorpIds
),
allRepaymentLoanInfo
!=
null
?
allRepaymentLoanInfo
.
size
():
0
);
return
allRepaymentLoanInfo
;
}
}
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