Commit 6abbc58c authored by lizhe's avatar lizhe

database修改

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