Commit a1fde9fd authored by panhong18943's avatar panhong18943

博雷顿电子签约-厂家账户不做静默签

parent 3105fbe1
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
cs.id_no, cs.id_no,
cs.mobile, cs.mobile,
hs.signer_category, hs.signer_category,
hs.indentity_type,
nvl(hs.auto_sign, 'N') auto_sign,
cs.esign_type, cs.esign_type,
(select nvl(hm.bp_name_leg,hm.legal_person) (select nvl(hm.bp_name_leg,hm.legal_person)
from con_contract_bp cb, hls_bp_master hm from con_contract_bp cb, hls_bp_master hm
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
update con_contract_ele_signer cs update con_contract_ele_signer cs
set cs.ec_sign_status = 'Y', set cs.ec_sign_status = 'Y',
cs.last_update_date = sysdate cs.last_update_date = sysdate
where cs.contract_id = ${@contract_id}; where cs.contract_id = ${@contract_id}
AND cs.esign_type = ${@esign_type};
update con_contract cc update con_contract cc
set cc.ec_sign_type = 'SIGNED', set cc.ec_sign_type = 'SIGNED',
......
...@@ -155,14 +155,22 @@ ...@@ -155,14 +155,22 @@
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'||signer_record_data.signer_category == 'SUPPLIER_SEAL'||signer_record_data.signer_category == 'LEASE_SUPPLIER_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;
var category_desc;
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';
category_desc = '代理店';
}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';
category_desc = '厂商代理店';
}else if (signer_record_data.signer_category == 'SUPPLIER_SEAL') { }else if (signer_record_data.signer_category == 'SUPPLIER_SEAL') {
signer_category = 'SUPPLIER_SIGN'; signer_category = 'SUPPLIER_SIGN';
category_desc = '供应商';
}else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') { }else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
signer_category = 'LEASE_SUPPLIER_SIGN'; signer_category = 'LEASE_SUPPLIER_SIGN';
category_desc = '厂商';
}else if (signer_record_data.signer_category == 'GUARANTOR_NP') {
signer_category = 'GUARANTOR_NP';
category_desc = '担保人';
} }
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,
...@@ -185,7 +193,10 @@ ...@@ -185,7 +193,10 @@
"legalName": legalName, "legalName": legalName,
"legalIdNo": legalIdNo, "legalIdNo": legalIdNo,
"agentType": "2", "agentType": "2",
"signerCategory":signer_record_data.signer_category "signerCategory":signer_record_data.signer_category,
"categoryDesc":category_desc,
"indentityType":signer_record_data.indentity_type,
"autoSign":signer_record_data.auto_sign
}); });
} }
} }
......
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
contract_id:contract_no, contract_id:contract_no,
flow_id:$ctx.parameter.flowId, flow_id:$ctx.parameter.flowId,
flow_status:$ctx.parameter.flowStatus, flow_status:$ctx.parameter.flowStatus,
end_time:$ctx.parameter.endTime end_time:$ctx.parameter.endTime,
esign_type:$ctx.parameter.esignType
}); });
$ctx.parameter.return_status = '0'; $ctx.parameter.return_status = '0';
$ctx.parameter.return_message = '修改成功'; $ctx.parameter.return_message = '修改成功';
......
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