<bm:query-fieldname="amount_unreceived_penalty"queryExpression="((${@amount_unreceived_penalty}='1' and t1.amount_unreceived_penalty = 0) or(${@amount_unreceived_penalty}='2' and t1.amount_unreceived_penalty > 0 and t1.amount_unreceived_penalty <= 1000) or (${@amount_unreceived_penalty}='3' and t1.amount_unreceived_penalty > 1000))"/>
<bm:fieldname="is_terminate"expression="((t1.contract_status not in('REPURING') and (SELECT ccc.write_off_flag from con_contract_cashflow ccc WHERE ccc.contract_id=t1.contract_id AND ccc.cf_item=8 AND ccc.cf_status='RELEASE')='FULL')or(t1.contract_status='REPURING'))"/>
<bm:fieldname="is_terminate"expression="((t1.contract_status not in('REPURING') and (SELECT ccc.write_off_flag from con_contract_cashflow ccc WHERE ccc.contract_id=t1.contract_id AND ccc.cf_item=8 AND ccc.cf_status='RELEASE')='FULL')or(t1.contract_status='REPURING'))"/>