Commit 7d321b47 authored by 38823's avatar 38823

保证金台账查询优化

parent 2f75d587
......@@ -124,7 +124,7 @@
<bm:data-filters>
<bm:data-filter name="query" expression="(t1.company_id=${/session/@company_id})"/>
<bm:data-filter name="query" expression="(t1.transaction_num not in('R23120500038'))"/>
<bm:data-filter name="query" expression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) not in('XND24010001')"/>
<bm:data-filter name="query" expression="((t1.ref_contract_id is not null and not exists(select 1 from con_contract cc where cc.contract_id=t1.ref_contract_id and cc.contract_number='XND24010001')) or t1.ref_contract_id is null)"/>
<!--<bm:data-filter name="query" expression="((nvl(t1.transaction_amount,0)-nvl(t1.write_off_amount,0)-nvl(t1.returned_amount,0)) >0)"/>-->
<!-- <bm:data-filter name="query" expression="(t1.ref_contract_id is not null)"/>-->
<bm:data-filter name="query" expression="(t1.transaction_type ='DEPOSIT')"/>
......
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