Commit f287da54 authored by 18083's avatar 18083

博雷顿电子签约改造

parent 9595ab50
...@@ -37,13 +37,15 @@ ...@@ -37,13 +37,15 @@
where cb.bp_id = hm.bp_id where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no and hm.social_code = cs.id_no
and cb.bp_class = 'ORG') legal_person, and cb.bp_class = 'ORG'
and rownum=1) legal_person,
(select hm.id_card_no_leg (select hm.id_card_no_leg
from con_contract_bp cb, hls_bp_master hm from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no and hm.social_code = cs.id_no
and cb.bp_class = 'ORG') id_card_no_leg and cb.bp_class = 'ORG'
and rownum=1) id_card_no_leg
from con_contract_ele_signer cs, hls_doc_file_templet_signer hs,con_contract_content cc,con_clause_templet ct from con_contract_ele_signer cs, hls_doc_file_templet_signer hs,con_contract_content cc,con_clause_templet ct
where cs.templet_signer_id = hs.templet_signer_id where cs.templet_signer_id = hs.templet_signer_id
and ct.doc_template_id = hs.templet_id and ct.doc_template_id = hs.templet_id
......
...@@ -67,7 +67,44 @@ select fa.file_name,fa.file_path,fa.attachment_id ...@@ -67,7 +67,44 @@ select fa.file_name,fa.file_path,fa.attachment_id
'CON_CONTRACT_MORTGAGE_KJ_E','CON_CONTRACT_MORTGAGE_KJ_E', 'CON_CONTRACT_MORTGAGE_KJ_E','CON_CONTRACT_MORTGAGE_KJ_E',
'LEASE_CONTRACT_PAR_KJ_E','LEASE_CONTRACT_PAR_KJ_E', 'LEASE_CONTRACT_PAR_KJ_E','LEASE_CONTRACT_PAR_KJ_E',
'LEASE_CONTRACT_PAR_KJ_1_E','LEASE_CONTRACT_PAR_KJ_1_E', 'LEASE_CONTRACT_PAR_KJ_1_E','LEASE_CONTRACT_PAR_KJ_1_E',
'CON_COLLECTION_PAYMENT_KJ_E','CON_COLLECTION_PAYMENT_KJ_E' 'CON_COLLECTION_PAYMENT_KJ_E','CON_COLLECTION_PAYMENT_KJ_E',
--博雷顿
'PERSONAL_CREDIT_BLD_E',
'CREDIT_AUTHOR',
'ENTERPRISE_CREDIT_BLD_E',
'CREDIT_AUTHOR',
'PERSONAL_CREDIT_GUTA_BLD_E',
'CREDIT_AUTHOR',
'ENTERPRISE_CREDIT_GUTA_BLD_E',
'CREDIT_AUTHOR',
'ACCEPTANCE_BLD_E',
'GUARANTEE_LETTER_OEC',
'PAR_TENANT_BLD_E',
'SPOUSE_COMMITMENT',
'PAR_GUTA_BLD_E',
'SPOUSE_COMMITMENT',
'SURE_LEASE_GR_BLD_E',
'GUARANTEE_LETTER_OEC',
'SURE_LEASE_FR_BLD_E',
'GUARANTEE_LETTER_OEC',
'PROOF_RECEIPT_LEASE_BLD_E',
'CHECK_INFO',
'LEASE_SALE_BLD_E',
'PUR_CONTRACT',
'FINANCE_LEASE_CONTRACT_BLD_E',
'CONTRACT',
'SURE_LEASEBACK_GR_BLD_E',
'GUARANTEE_LETTER_OEC',
'SURE_LEASEBACK_FR_BLD_E',
'GUARANTEE_LETTER_OEC',
'PROOF_RECEIPT_LEASEBACK_BLD_E',
'CHECK_INFO',
'LEASE_ORDER_LEASEBACK_BLD_E',
'ITEM_TRAN_NOTICE',
'CON_CONTRACT_MORTGAGE_BLD_E',
'MORT_CONTRACT',
'CON_CONTRACT_LEASEBACK_BLD_E',
'CONTRACT'
) )
from con_ele_signer_file cf, con_contract_ele_signer cs from con_ele_signer_file cf, con_contract_ele_signer cs
where cf.con_ele_signer_id = cs.con_ele_signer_id where cf.con_ele_signer_id = cs.con_ele_signer_id
...@@ -87,12 +124,23 @@ select fa.file_name,fa.file_path,fa.attachment_id ...@@ -87,12 +124,23 @@ select fa.file_name,fa.file_path,fa.attachment_id
and ht.templet_code = ct.templet_code and ht.templet_code = ct.templet_code
and ct.templet_id = cf.templet_id and ct.templet_id = cf.templet_id
and hs.enable_flag = 'Y' and hs.enable_flag = 'Y'
and hs.signer_category not in ('AGENCY_STORE_SEAL','AGENCY_STORE_SIGN','HONGLING_SEAL','HONGLING_SIGN'))) and hs.signer_category not in ('AGENCY_STORE_SEAL','AGENCY_STORE_SIGN','HONGLING_SEAL','HONGLING_SIGN',
'MAN_FACTURER_SEAL',
'MAN_FACTURER_SIGN',
'SUPPLIER_SEAL',
'SUPPLIER_SIGN',
'LEASE_SUPPLIER_SEAL',
'LEASE_SUPPLIER_SIGN')))
or 'AGENT' in (select cb.bp_category or 'AGENT' in (select cb.bp_category
from con_contract_bp cb, hls_bp_master hm from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id where cb.bp_id = hm.bp_id
and hm.social_code = ${@id_no} and hm.social_code = ${@id_no}
and cb.contract_id = cs.contract_id))) and cb.contract_id = cs.contract_id)
or 'VENDER' in (select cb.bp_category
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and hm.social_code = ${@id_no}
and cb.contract_id = cs.contract_id)))
and pi.cdd_list_id = and pi.cdd_list_id =
(select cc.cdd_list_id (select cc.cdd_list_id
from con_contract cc from con_contract cc
......
...@@ -47,12 +47,24 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq ...@@ -47,12 +47,24 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq
('AGENCY_STORE_SEAL', ('AGENCY_STORE_SEAL',
'AGENCY_STORE_SIGN', 'AGENCY_STORE_SIGN',
'HONGLING_SEAL', 'HONGLING_SEAL',
'HONGLING_SIGN'))) or 'HONGLING_SIGN',
'MAN_FACTURER_SEAL',
'MAN_FACTURER_SIGN',
'SUPPLIER_SEAL',
'SUPPLIER_SIGN',
'LEASE_SUPPLIER_SEAL',
'LEASE_SUPPLIER_SIGN'))) or
'AGENT' in (select cb.bp_category 'AGENT' in (select cb.bp_category
from con_contract_bp cb, hls_bp_master hm from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id where cb.bp_id = hm.bp_id
and hm.social_code = ${@id_no} and hm.social_code = ${@id_no}
and cb.contract_id = cc.contract_id))) and cb.contract_id = cc.contract_id)
or
'VENDER' in (select cb.bp_category
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and hm.social_code = ${@id_no}
and cb.contract_id = cc.contract_id)))
order by ct.order_seq order by ct.order_seq
]]></bm:query-sql> ]]></bm:query-sql>
</bm:operation> </bm:operation>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -153,12 +153,16 @@ ...@@ -153,12 +153,16 @@
var userInfoList = []; var userInfoList = [];
for (var k = 0 ; k < ele_signer_data.length;k++){ for (var k = 0 ; k < ele_signer_data.length;k++){
var signer_record_data = ele_signer_data[k]; var signer_record_data = ele_signer_data[k];
if(signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL'){ if(signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL'||signer_record_data.signer_category == 'SUPPLIER_SEAL'||signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL'){
var signer_category; var signer_category;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){ if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
signer_category = 'AGENCY_STORE_SIGN'; signer_category = 'AGENCY_STORE_SIGN';
}else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') { }else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
signer_category = 'MAN_FACTURER_SIGN'; signer_category = 'MAN_FACTURER_SIGN';
}else if (signer_record_data.signer_category == 'SUPPLIER_SEAL') {
signer_category = 'SUPPLIER_SIGN';
}else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
signer_category = 'LEASE_SUPPLIER_SIGN';
} }
var ele_org_signer_map = ele_signer_bm.queryAsMap({ var ele_org_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id, contract_id: $ctx.parameter.contract_id,
......
...@@ -171,12 +171,16 @@ ...@@ -171,12 +171,16 @@
"agentType": "1", "agentType": "1",
"signerCategory":signer_record_data.signer_category "signerCategory":signer_record_data.signer_category
}); });
} else if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL') { } else if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL'|| signer_record_data.signer_category == 'SUPPLIER_SEAL'|| signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
var signer_category; var signer_category;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){ if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
signer_category = 'AGENCY_STORE_SIGN'; signer_category = 'AGENCY_STORE_SIGN';
}else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') { }else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
signer_category = 'MAN_FACTURER_SIGN'; signer_category = 'MAN_FACTURER_SIGN';
}else if (signer_record_data.signer_category == 'SUPPLIER_SEAL') {
signer_category = 'SUPPLIER_SIGN';
}else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
signer_category = 'LEASE_SUPPLIER_SIGN';
} }
var ele_org_signer_map = ele_signer_bm.queryAsMap({ var ele_org_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id, contract_id: $ctx.parameter.contract_id,
......
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