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
15e02931
Commit
15e02931
authored
Nov 23, 2023
by
LSL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结清默认结清账单
parent
52496a13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
BackedBurdenJob.java
src/main/java/com/jqtx/windows/job/BackedBurdenJob.java
+3
-3
No files found.
src/main/java/com/jqtx/windows/job/BackedBurdenJob.java
View file @
15e02931
...
@@ -130,15 +130,15 @@ public class BackedBurdenJob {
...
@@ -130,15 +130,15 @@ public class BackedBurdenJob {
String
refundNo
=
SnowSequenceHelper
.
nextSequence
(
SnowSequenceHelper
.
REFUND_NO
);
String
refundNo
=
SnowSequenceHelper
.
nextSequence
(
SnowSequenceHelper
.
REFUND_NO
);
//生成 windows_repay 信息
//生成 windows_repay 信息
RepayModel
repayModel
=
creditRepay
(
model
,
refundNo
);
RepayModel
repayModel
=
creditRepay
(
model
,
refundNo
);
loanRepayComponent
.
insert
(
repayModel
);
//生成 windows_backed_detail 信息
//生成 windows_backed_detail 信息
BackedDetailModel
backedDetailModel
=
creditBackedDetailModel
(
model
,
refundNo
);
BackedDetailModel
backedDetailModel
=
creditBackedDetailModel
(
model
,
refundNo
);
backedDetailComponent
.
insert
(
backedDetailModel
);
//修改 windows_plan backAmt 信息 还款状态
//修改 windows_plan backAmt 信息 还款状态
upWindowsPlan
(
model
);
upWindowsPlan
(
model
);
//修改 windows_loan 还款状态
//修改 windows_loan 还款状态
LoanModel
loanModel
=
loanComponent
.
getByLoanNo
(
model
.
getLoanNo
());
LoanModel
loanModel
=
loanComponent
.
getByLoanNo
(
model
.
getLoanNo
());
upWindowsLoan
(
loanModel
);
upWindowsLoan
(
loanModel
);
loanRepayComponent
.
insert
(
repayModel
);
backedDetailComponent
.
insert
(
backedDetailModel
);
}
}
/**
/**
...
@@ -199,7 +199,7 @@ public class BackedBurdenJob {
...
@@ -199,7 +199,7 @@ public class BackedBurdenJob {
planModel
.
setBackedBurden
(
new
BigDecimal
(
model
.
getPepayBurden
()));
planModel
.
setBackedBurden
(
new
BigDecimal
(
model
.
getPepayBurden
()));
BigDecimal
planAmt
=
planModel
.
getPlanBen
().
add
(
planModel
.
getPlanXi
()).
add
(
planModel
.
getPlanFu
()).
add
(
planModel
.
getPlanFa
()).
add
(
planModel
.
getPlanBurden
());
BigDecimal
planAmt
=
planModel
.
getPlanBen
().
add
(
planModel
.
getPlanXi
()).
add
(
planModel
.
getPlanFu
()).
add
(
planModel
.
getPlanFa
()).
add
(
planModel
.
getPlanBurden
());
BigDecimal
backedAmt
=
planModel
.
getBackedBen
().
add
(
planModel
.
getBackedXi
()).
add
(
planModel
.
getBackedFu
()).
add
(
planModel
.
getBackedFa
()).
add
(
planModel
.
getBackedBurden
());
BigDecimal
backedAmt
=
planModel
.
getBackedBen
().
add
(
planModel
.
getBackedXi
()).
add
(
planModel
.
getBackedFu
()).
add
(
planModel
.
getBackedFa
()).
add
(
planModel
.
getBackedBurden
());
if
(
planAmt
.
compareTo
(
backedAmt
)
==
0
)
{
if
(
!(
planAmt
.
compareTo
(
backedAmt
)
>
0
)
)
{
planModel
.
setStatus
(
LoanStatusEnum
.
SETTLED
.
getCode
());
planModel
.
setStatus
(
LoanStatusEnum
.
SETTLED
.
getCode
());
}
}
loanPlanComponent
.
updateByLoanPlanModel
(
planModel
);
loanPlanComponent
.
updateByLoanPlanModel
(
planModel
);
...
...
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