Commit 802cc549 authored by liyuan.chen's avatar liyuan.chen

对账单针对回购合同修改

parent bdb19a8a
......@@ -62,7 +62,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -74,7 +74,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -135,7 +135,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -147,7 +147,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -301,7 +301,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -313,7 +313,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -377,7 +377,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -389,7 +389,7 @@
nvl((Select Sum(tn.write_off_due_amount)
From csh_write_off tn
Where tn.cashflow_id = cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -531,7 +531,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -544,7 +544,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -609,7 +609,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -622,7 +622,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -785,7 +785,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -798,7 +798,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -866,7 +866,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0) + cwo.write_off_due_amount) As due_amount,
--收款日
......@@ -879,7 +879,7 @@
From csh_write_off tn
Where tn.cashflow_id =
cwo.cashflow_id
And tn.creation_date <=
And tn.creation_date &lt;=
cwo.creation_date),
0)) As unreceived_amount
From con_contract_cashflow ccc,
......@@ -1011,7 +1011,7 @@
(Select cl.machine_number
From con_contract_lease_item cl
Where cl.contract_id = c.contract_id) As machine_number,
to_char(Sysdate, &apos;yyyy"年"mm"月"dd"日"&apos;) As today
to_char(Sysdate, 'yyyy"年"mm"月"dd"日"') As today
From con_contract c, hls_bp_master hb
Where c.bp_id_tenant = hb.bp_id
and c.contract_id = #{contractId}
......
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