Commit 9eefd7a4 authored by chenzhuo's avatar chenzhuo

待签约合同查询

parent c6266292
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
where ccb.bp_id = hb.bp_id where ccb.bp_id = hb.bp_id
and ccb.contract_id = t1.contract_id and ccb.contract_id = t1.contract_id
and (ccb.bp_category in ('TENANT', 'GUARANTOR') and and (ccb.bp_category in ('TENANT', 'GUARANTOR') and
(ccb.id_card_no = ${@id_no} or ccb.id_no_sp = ${@id_no})))) or (ccb.id_card_no = ${@id_no} or (ccb.id_no_sp = ${@id_no} and ccb.sp_sign_flag = 'Y'))))) or
(${@account_type} = 'AG' and exists (${@account_type} = 'AG' and exists
(select 1 (select 1
from hls_bp_master_signer hs from hls_bp_master_signer hs
......
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