Commit 6abbc58c authored by lizhe's avatar lizhe

database修改

parent 905c3caf
......@@ -592,14 +592,16 @@ SELECT h.period_year,
from con_contract_cashflow ccc
where ccc.cashflow_id = l.cashflow_id) times,
h.journal_date due_date,
decode(hd.je_template_code,
'HL_CON_CHANGE_REPURCHASE_VAT',
to_number(l.reference7),
l.amount_cr) due_amount,
decode(hd.je_template_code,
'HL_CON_CHANGE_REPURCHASE_VAT',
to_number(l.reference7),
l.amount_cr) principal,
--decode(hd.je_template_code,
-- 'HL_CON_CHANGE_REPURCHASE_VAT',
-- to_number(l.reference7),
-- l.amount_cr) due_amount,
to_number(l.reference7) due_amount,
-- decode(hd.je_template_code,
-- 'HL_CON_CHANGE_REPURCHASE_VAT',
-- to_number(l.reference7),
-- l.amount_cr) principal,
to_number(l.reference7) principal,
0 interest,
l.amount_cr vat_due_amount,
case
......
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