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
c7f3daef
Commit
c7f3daef
authored
Aug 10, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线下还款时间延长
parent
fb127706
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
RepaymentLoanInfoMapper.xml
...ntgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
+2
-1
No files found.
src/main/resources/cn/quantgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
View file @
c7f3daef
...
@@ -1051,7 +1051,7 @@
...
@@ -1051,7 +1051,7 @@
,sum(a.required_repayment) realRepayment
,sum(a.required_repayment) realRepayment
,case when f.yqze=0 then ''
,case when f.yqze=0 then ''
else concat('D',DATEDIFF(a.repaid_at,f.min_deadline)+1) end overdueStatus
else concat('D',DATEDIFF(a.repaid_at,f.min_deadline)+1) end overdueStatus
,DATE_FORMAT(
a.repayment_received_at
,'%Y-%m-%dT%H:%i:%S') statusConfirmAt
,DATE_FORMAT(
if(s.id is null,a.repayment_received_at,DATE_ADD(a.repayment_received_at,INTERVAL 10 MINUTE))
,'%Y-%m-%dT%H:%i:%S') statusConfirmAt
,f.yqze overdueAmount
,f.yqze overdueAmount
,i.dkye remainingAmount
,i.dkye remainingAmount
,case when f.yqze>0 then '2'
,case when f.yqze>0 then '2'
...
@@ -1118,6 +1118,7 @@
...
@@ -1118,6 +1118,7 @@
on a.loan_application_history_id=i.loan_application_history_id and a.term_no=i.term_no
on a.loan_application_history_id=i.loan_application_history_id and a.term_no=i.term_no
left join xyqb.repayment_plan j on a.loan_application_history_id=j.loan_application_history_id
left join xyqb.repayment_plan j on a.loan_application_history_id=j.loan_application_history_id
and if(DATEDIFF(a.next_deadline,a.repaid_at)>1,a.term_no,a.term_no)=j.term_no
and if(DATEDIFF(a.next_deadline,a.repaid_at)>1,a.term_no,a.term_no)=j.term_no
left join xyqb.offline_repay_settlement_record s on a.id=s.plan_id
group by if(d.order_no is null,a.loan_application_history_id,d.order_no),
group by if(d.order_no is null,a.loan_application_history_id,d.order_no),
if(DATEDIFF(a.next_deadline,a.repaid_at)>1,a.term_no,a.term_no)
if(DATEDIFF(a.next_deadline,a.repaid_at)>1,a.term_no,a.term_no)
</select>
</select>
...
...
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