Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-api
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-王博
finance-api
Commits
1be28704
Commit
1be28704
authored
Mar 17, 2017
by
Data-王博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
湖北消金 - 提前还款 线下还款判断类型
parent
41dcf700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
HuBeiServiceImpl.java
...n/quantgroup/financial/service/impl/HuBeiServiceImpl.java
+14
-4
No files found.
src/main/java/cn/quantgroup/financial/service/impl/HuBeiServiceImpl.java
View file @
1be28704
...
@@ -628,6 +628,16 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -628,6 +628,16 @@ public class HuBeiServiceImpl implements IHuBeiService {
if
(!
CollectionUtils
.
isEmpty
(
repayOfflineRecordList
)){
if
(!
CollectionUtils
.
isEmpty
(
repayOfflineRecordList
)){
for
(
RepayOfflineRecord
repayOfflineRecord:
repayOfflineRecordList
){
for
(
RepayOfflineRecord
repayOfflineRecord:
repayOfflineRecordList
){
if
(
repayOfflineRecord
.
getBizType
()!=
null
&&
repayOfflineRecord
.
getBizType
().
intValue
()!=
0
){
//非现金贷 类型 过滤
logger
.
info
(
"bizType ={}"
,
repayOfflineRecord
.
getBizType
());
continue
;
}
if
(!
repayOfflineRecord
.
getDebtFundingCorp
().
contains
(
"湖北"
)){
//不是湖北消金的 过滤
logger
.
info
(
"debtFundingCorp ={}"
,
repayOfflineRecord
.
getDebtFundingCorp
());
continue
;
}
Long
loanId
=
Long
.
valueOf
(
repayOfflineRecord
.
getBizLoanNo
());
Long
loanId
=
Long
.
valueOf
(
repayOfflineRecord
.
getBizLoanNo
());
if
(
loanIdMappingRepayOffline
.
containsKey
(
loanId
)){
if
(
loanIdMappingRepayOffline
.
containsKey
(
loanId
)){
loanIdMappingRepayOffline
.
get
(
loanId
).
add
(
repayOfflineRecord
);
loanIdMappingRepayOffline
.
get
(
loanId
).
add
(
repayOfflineRecord
);
...
@@ -706,7 +716,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -706,7 +716,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
Long
loanId
=
Long
.
valueOf
(
repayOfflineRecordlList
.
get
(
0
).
getBizLoanNo
());
Long
loanId
=
Long
.
valueOf
(
repayOfflineRecordlList
.
get
(
0
).
getBizLoanNo
());
PaymentDetail
paymentDetail
=
paymentDao
.
getByLoanId
(
loanId
);
PaymentDetail
paymentDetail
=
paymentDao
.
getByLoanId
(
loanId
);
if
(
paymentDetail
==
null
){
if
(
paymentDetail
==
null
){
logger
.
warn
(
"loanId={} cant`t get paymentdetail"
,
loanId
);
logger
.
warn
(
"
offline
loanId={} cant`t get paymentdetail"
,
loanId
);
iApiCommonService
.
queryData
(
loanId
,
null
);
iApiCommonService
.
queryData
(
loanId
,
null
);
paymentDetail
=
paymentDao
.
getByLoanId
(
loanId
);
paymentDetail
=
paymentDao
.
getByLoanId
(
loanId
);
}
}
...
@@ -761,7 +771,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -761,7 +771,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
advanceHuiBeiList
.
add
(
advanceHuiBeiHistory
);
advanceHuiBeiList
.
add
(
advanceHuiBeiHistory
);
}
}
}
else
{
}
else
{
logger
.
warn
(
"paymentDetail is null !!!,loanId={}"
,
loanId
);
logger
.
warn
(
"
offline
paymentDetail is null !!!,loanId={}"
,
loanId
);
}
}
return
advanceHuiBeiList
;
return
advanceHuiBeiList
;
...
@@ -780,7 +790,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -780,7 +790,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
Integer
seqNo
=
new
Integer
(
0
);
Integer
seqNo
=
new
Integer
(
0
);
PaymentDetail
paymentDetail
=
paymentDao
.
getByLoanId
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
PaymentDetail
paymentDetail
=
paymentDao
.
getByLoanId
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
if
(
paymentDetail
==
null
){
if
(
paymentDetail
==
null
){
logger
.
warn
(
"loanId={} cant`t get paymentdetail"
,
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
logger
.
warn
(
"
repayXyqb
loanId={} cant`t get paymentdetail"
,
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
iApiCommonService
.
queryData
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
(),
null
);
iApiCommonService
.
queryData
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
(),
null
);
paymentDetail
=
paymentDao
.
getByLoanId
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
paymentDetail
=
paymentDao
.
getByLoanId
(
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
}
}
...
@@ -836,7 +846,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -836,7 +846,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
advanceHuiBeiList
.
add
(
advanceHuiBeiHistory
);
advanceHuiBeiList
.
add
(
advanceHuiBeiHistory
);
}
}
}
else
{
}
else
{
logger
.
warn
(
"paymentDetail is null !!!,loanId={}"
,
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
logger
.
warn
(
"
repayXyqb
paymentDetail is null !!!,loanId={}"
,
repayXyqbDetailList
.
get
(
0
).
getLoanApplicationHistoryId
());
}
}
return
advanceHuiBeiList
;
return
advanceHuiBeiList
;
...
...
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