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
e0b152e6
Commit
e0b152e6
authored
Aug 12, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除线下还款
parent
509f7da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
RepaymentLoanInfoMapper.xml
...ntgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
+1
-2
No files found.
src/main/resources/cn/quantgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
View file @
e0b152e6
...
...
@@ -1051,7 +1051,7 @@
,sum(a.required_repayment) realRepayment
,case when f.yqze=0 then ''
else concat('D',DATEDIFF(a.repaid_at,f.min_deadline)+1) end overdueStatus
,DATE_FORMAT(if(
s.id is null,if(a.repayment_received_at
<
a.repaid_at,DATE_ADD(a.repayment_received_at,INTERVAL 5 SECOND),a.repayment_received_at),DATE_ADD(a.repayment_received_at,INTERVAL 6 SECOND
)),'%Y-%m-%dT%H:%i:%S') statusConfirmAt
,DATE_FORMAT(if(
a.repayment_received_at
<
a.repaid_at,DATE_ADD(a.repaid_at,INTERVAL 5 SECOND),a.repayment_received_at
)),'%Y-%m-%dT%H:%i:%S') statusConfirmAt
,f.yqze overdueAmount
,i.dkye remainingAmount
,case when f.yqze>0 then '2'
...
...
@@ -1118,7 +1118,6 @@
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
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),
if(DATEDIFF(a.next_deadline,a.repaid_at)>1,a.term_no,a.term_no)
</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