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
ee8266cc
Commit
ee8266cc
authored
Apr 11, 2017
by
Data-王博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
湖北消金 - 提前还款批次文件 发生了同一天一个用户 既线上还款又线下还款导致进入同一批次文件。 修复机制 批次改变成和还款期数匹配
parent
db5dffc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
HuBeiReturnDiscScheduler.java
...ntgroup/financial/scheduler/HuBeiReturnDiscScheduler.java
+1
-1
HuBeiServiceImpl.java
...n/quantgroup/financial/service/impl/HuBeiServiceImpl.java
+7
-4
No files found.
src/main/java/cn/quantgroup/financial/scheduler/HuBeiReturnDiscScheduler.java
View file @
ee8266cc
...
@@ -54,7 +54,7 @@ public class HuBeiReturnDiscScheduler {
...
@@ -54,7 +54,7 @@ public class HuBeiReturnDiscScheduler {
/**
/**
* Seconds Minutes Hours DayofMonth Month DayofWeek
* Seconds Minutes Hours DayofMonth Month DayofWeek
*/
*/
@Scheduled
(
cron
=
"0
1
5 20 * * ?"
)
@Scheduled
(
cron
=
"0
0
5 20 * * ?"
)
public
void
dayScheduler
(){
public
void
dayScheduler
(){
if
(
scheduledJudgeService
.
isOpenScheduled
()){
if
(
scheduledJudgeService
.
isOpenScheduled
()){
try
{
try
{
...
...
src/main/java/cn/quantgroup/financial/service/impl/HuBeiServiceImpl.java
View file @
ee8266cc
...
@@ -498,6 +498,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -498,6 +498,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
Long
loanId
=
contractNoMapLoanId
.
get
(
history
.
getContactNo
());
Long
loanId
=
contractNoMapLoanId
.
get
(
history
.
getContactNo
());
List
<
RepayXyqbDetail
>
repayXyqbDetailList
=
loanId
==
null
?
null
:(
ArrayList
<
RepayXyqbDetail
>)
listRepayDetailMap
.
get
(
loanId
);
List
<
RepayXyqbDetail
>
repayXyqbDetailList
=
loanId
==
null
?
null
:(
ArrayList
<
RepayXyqbDetail
>)
listRepayDetailMap
.
get
(
loanId
);
List
<
RepayOfflineRecord
>
repayOfflineRecordList
=
loanId
==
null
?
null
:(
ArrayList
<
RepayOfflineRecord
>)
listRepayOfflineMap
.
get
(
loanId
);
List
<
RepayOfflineRecord
>
repayOfflineRecordList
=
loanId
==
null
?
null
:(
ArrayList
<
RepayOfflineRecord
>)
listRepayOfflineMap
.
get
(
loanId
);
Boolean
isContinue
=
Boolean
.
FALSE
;
//现金贷还款
//现金贷还款
if
(!
CollectionUtils
.
isEmpty
(
repayXyqbDetailList
)){
if
(!
CollectionUtils
.
isEmpty
(
repayXyqbDetailList
)){
//过滤掉要查找的期数之前的还款信息
//过滤掉要查找的期数之前的还款信息
...
@@ -535,7 +536,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -535,7 +536,7 @@ public class HuBeiServiceImpl implements IHuBeiService {
returnHuBeiHistoryList
.
addAll
(
advanceHistoryList
);
returnHuBeiHistoryList
.
addAll
(
advanceHistoryList
);
}
}
}
}
continue
;
isContinue
=
Boolean
.
TRUE
;
}
}
}
}
...
@@ -583,11 +584,13 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -583,11 +584,13 @@ public class HuBeiServiceImpl implements IHuBeiService {
}
}
}
}
isContinue
=
Boolean
.
TRUE
;
continue
;
}
}
}
}
if
(
isContinue
){
//在这里做截断原因是,有可能客户同时发生了线上还款和线下还款 所以都要处理一遍逻辑。
continue
;
}
if
(
compensationContractMapRepayPlan
.
containsKey
(
history
.
getContactNo
())){
if
(
compensationContractMapRepayPlan
.
containsKey
(
history
.
getContactNo
())){
//当日代偿
//当日代偿
//湖北罚息
//湖北罚息
...
...
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