Commit 5f0ec89c authored by 陈宏杰's avatar 陈宏杰

还款确认日不小于实际还款日

parent 3df7bcb4
......@@ -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,a.repayment_received_at,DATE_ADD(a.repayment_received_at,INTERVAL 10 MINUTE)),'%Y-%m-%dT%H:%i:%S') statusConfirmAt
,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
,f.yqze overdueAmount
,i.dkye remainingAmount
,case when f.yqze>0 then '2'
......
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