Commit 9c87737e authored by taoruidan18083's avatar taoruidan18083

I-24133【建机】回收逾期状况明细表逻辑调整

parent ea264d50
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd')) trunc(to_date(${@last_month_date}, 'yyyy-mm-dd'))
AND ((trunc(t.lease_start_date) <= AND ((trunc(t.lease_start_date) <=
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd')) AND trunc(to_date(${@last_month_date}, 'yyyy-mm-dd')) AND
t.contract_status in ('INCEPT','PENDING','ETING','REPURING')) OR t.contract_status in ('INCEPT','PENDING','ETING','REPURING','TERMINATING')) OR
(to_char(t.et_date, 'yyyy-mm') >= ${@period_name} AND (to_char(t.et_date, 'yyyy-mm') >= ${@period_name} AND
t.contract_status in ('TERMINATE','ET','REPUR'))) t.contract_status in ('TERMINATE','ET','REPUR')))
AND ccc.due_amount > AND ccc.due_amount >
......
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