Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
54c0ea1a
Commit
54c0ea1a
authored
Oct 31, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增法人担保经办人电子签约
parent
5e97159b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
14 deletions
+94
-14
con_contract_query.lwm
...in/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
+37
-1
con_ele_contract_signer_query.lwm
...EB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
+39
-13
con_ele_content_create.lsc
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
+18
-0
No files found.
src/main/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
View file @
54c0ea1a
...
...
@@ -83,7 +83,16 @@ select *
from hls_bp_master hm, hls_bp_master_signer hs
where hm.bp_id = hs.bp_id
and hm.bp_id = t1.bp_id_tenant
and hs.id_card = ${@id_no}))) or
and hs.id_card = ${@id_no})
or cs.id_no=(select hm.social_code
from con_contract_bp cb,
hls_bp_master hm,
hls_bp_master_signer hs
where cb.bp_id = hm.bp_id
and cb.gua_signer = hs.hls_bp_signer_id
and cb.contract_id = t1.contract_id
and hs.id_card = ${@id_no}
and cb.bp_class = 'ORG'))) or
(${@account_type} != 'AG' and cs.id_no = ${@id_no}))
and rownum = 1) sign_url,
(SELECT nvl(cs.ec_sign_status, 'N')
...
...
@@ -132,6 +141,33 @@ select *
where cs.id_no = ${@id_no}
and cs.contract_id = t1.contract_id)
) or
(${@account_type} = 'AG' and exists
(select 1
from hls_bp_master_signer hs,con_contract_bp bp,hls_bp_master hm
where hs.hls_bp_signer_id = bp.gua_signer
and bp.bp_id = hm.bp_id
and bp.contract_id = t1.contract_id
and bp.bp_category = 'GUARANTOR'
and bp.bp_class = 'ORG'
and hm.social_code = ${@organization_id}
and hs.id_card = ${@id_no})
and exists (select 1 from con_contract_ele_signer cs
where cs.id_no = ${@id_no}
and cs.contract_id = t1.contract_id)) or
(${@account_type} = 'AG' and exists
(select 1
from hls_bp_master_signer hs,con_contract_change_req cr,con_contract_bp bp,hls_bp_master hm
where hs.hls_bp_signer_id = bp.gua_signer
and cr.change_req_id = t1.contract_id
and bp.bp_id = hm.bp_id
and bp.bp_category = 'GUARANTOR'
and bp.bp_class = 'ORG'
and hm.social_code = ${@organization_id}
and hs.id_card = ${@id_no})
and exists (select 1 from con_contract_ele_signer cs
where cs.id_no = ${@id_no}
and cs.contract_id = t1.contract_id)
) or
(${@account_type} = 'AG' and exists
(select 1
from con_contract_bp cb,hls_bp_master hbm
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
View file @
54c0ea1a
...
...
@@ -32,18 +32,40 @@
cs.mobile,
hs.signer_category,
cs.esign_type,
(select nvl(hm.bp_name_leg,hm.legal_person)
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG') legal_person,
(select hm.id_card_no_leg
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG') id_card_no_leg
decode(hs.signer_category,
'GUARANTOR_ORG_SEAL',
(select hs.name
from con_contract_bp cb,
hls_bp_master hm,
hls_bp_master_signer hs
where cb.bp_id = hm.bp_id
and cb.gua_signer = hs.hls_bp_signer_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG'),
(select nvl(hm.bp_name_leg, hm.legal_person)
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG')) legal_person,
decode(hs.signer_category,
'GUARANTOR_ORG_SEAL',
(select hs.id_card
from con_contract_bp cb,
hls_bp_master hm,
hls_bp_master_signer hs
where cb.bp_id = hm.bp_id
and cb.gua_signer = hs.hls_bp_signer_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG'),
(select hm.id_card_no_leg
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and hm.social_code = cs.id_no
and cb.bp_class = 'ORG')) id_card_no_leg
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
and ct.doc_template_id = hs.templet_id
...
...
@@ -55,7 +77,11 @@
where cb.contract_id = cc.contract_id
and hs.signer_category = (cb.bp_category || '_SP')
and cb.sp_sign_flag = 'N'
and cb.id_no_sp = cs.id_no)) t
and cb.id_no_sp = cs.id_no)
and not exists (select 1
from sign_auth_exc sa
where sa.id_no = cs.id_no
and sa.is_auth_flag = 'Y')) t
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
...
...
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
View file @
54c0ea1a
...
...
@@ -157,9 +157,14 @@
id_no:signer_record_data.id_card_no_leg
});
var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile;
//法人
var legalName = signer_record_data.legal_person;
var legalIdNo = signer_record_data.id_card_no_leg;
if (agentIdNo == legalIdNo) {
userInfoList.push({
"idNo": signer_record_data.id_no,
"name": signer_record_data.bp_name,
...
...
@@ -171,6 +176,19 @@
"agentType": "1",
"signerCategory":signer_record_data.signer_category
});
} else {
userInfoList.push({
"idNo": signer_record_data.id_no,
"name": signer_record_data.bp_name,
"agentIdNo": agentIdNo,
"agentName": agentName,
"mobile": mobile,
"legalName": agentName,
"legalIdNo": agentIdNo,
"agentType": "2",
"signerCategory":signer_record_data.signer_category
});
}
} 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;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment