Commit f13bce27 authored by TIANZHI.HU's avatar TIANZHI.HU

对账单打印报表逻辑问题的bug修复 add by 39135 HuTianzhi

parent d22a3aa6
......@@ -468,7 +468,14 @@
p_received_amount_9 => a.received_amount_9,
p_due_amount => a.received_amount,
p_write_off_id => a.write_off_id,
p_field => 'received_amount')>0
p_field => 'received_amount')>0 or
hlcm_query_entrance_pkg.get_due_amout_new(p_transaction_date => a.transaction_date,
p_times => a.times,
p_contract_id => a.contract_id,
p_due_amount => a.received_amount_9,
p_write_off_id => a.write_off_id,
p_field => 'received_amount_9',
p_write_off_id_9 => a.write_off_id_9)>0
Union
Select
null write_off_id_9,
......
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