Commit 7944fd76 authored by 陈宏杰's avatar 陈宏杰

D1

parent a96b8a46
......@@ -1050,7 +1050,7 @@
,f.yqze+sum(a.required_repayment) targetRepayment
,sum(a.required_repayment) realRepayment
,case when f.yqze=0 then ''
else if(f.min_deadline is null,'',concat('D',DATEDIFF(a.repaid_at,f.min_deadline)+1)) end overdueStatus
else if(f.min_deadline is null,'D1',concat('D',DATEDIFF(a.repaid_at,f.min_deadline)+1)) end overdueStatus
,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment