Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
windows
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
zhanhai
windows
Commits
8684605d
Commit
8684605d
authored
Feb 27, 2024
by
张庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
罚息
parent
cbd5d7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
SyncFaJob.java
src/main/java/com/jqtx/windows/job/SyncFaJob.java
+9
-6
No files found.
src/main/java/com/jqtx/windows/job/SyncFaJob.java
View file @
8684605d
...
...
@@ -65,12 +65,15 @@ public class SyncFaJob {
log
.
info
(
"oss逾期数据:{}"
,
stringObject
);
//存储并去平账
List
<
FaModel
>
getlist
=
getlist
(
stringObject
);
for
(
FaModel
faModel
:
getlist
)
{
//查询plan
LoanPlanModel
planModel
=
loanPlanComponent
.
getPlanNoByLoan
(
faModel
.
getLoanReqNo
(),
faModel
.
getTerm
());
planModel
.
setPlanFa
(
new
BigDecimal
(
faModel
.
getOintAmt
()));
loanPlanComponent
.
updateByLoanPlanModel
(
planModel
);
}
getlist
.
parallelStream
().
forEach
(
faModel
->
{
try
{
LoanPlanModel
planModel
=
loanPlanComponent
.
getPlanNoByLoan
(
faModel
.
getLoanReqNo
(),
faModel
.
getTerm
());
planModel
.
setPlanFa
(
new
BigDecimal
(
faModel
.
getOintAmt
()));
loanPlanComponent
.
updateByLoanPlanModel
(
planModel
);
}
catch
(
Exception
e
)
{
log
.
error
(
"同步浙农逾期数据,案件编号:{},期数:{},报错{}"
,
faModel
.
getLoanReqNo
(),
faModel
.
getTerm
(),
e
.
getMessage
(),
e
);
}
});
FileUtil
.
del
(
"/assurance_sftp.txt"
);
}
else
{
log
.
info
(
"浙农逾期文件不存在:{}"
,
date
);
...
...
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