Commit 59416a53 authored by congzhao's avatar congzhao

[建机]电子合同开发 合同文件排序

parent 8bf1657c
......@@ -73,10 +73,9 @@ select *
and cs.id_type = ${@id_type}
and rownum = 1) userSignStatus
from con_contract t1, con_contract_change_req cr
where t1.data_class = 'NORMAL'
and t1.contract_id = cr.contract_id
where t1.contract_id = cr.contract_id
and cr.ec_sign_type in ('INITIATE', 'SIGNING')
and t1.sign_type = 'ELE_SIGN'
and cr.sign_type = 'ELE_SIGN'
and ((${@account_type} = 'PE' and exists (select 1 from con_contract_bp ccb ,hls_bp_master hb
where ccb.bp_id = hb.bp_id
and ccb.contract_id = t1.contract_id
......
......@@ -61,6 +61,7 @@ select fa.file_name,fa.file_path,fa.attachment_id
from con_contract cc
where cc.contract_id = ${@contract_id}
and cc.data_class = 'NORMAL')
order by pi.order_seq
]]></bm:query-sql>
</bm:operation>
</bm:operations>
......
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