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
f053a568
Commit
f053a568
authored
Dec 16, 2020
by
congzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[建机]电子合同开发 电子签约查询修改
parent
d7d5ee56
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
24 deletions
+33
-24
con_contract_query.lwm
...in/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
+14
-7
con_file_download.lwm
...ain/webapp/WEB-INF/classes/wx/WX100/con_file_download.lwm
+9
-9
con_file_list_query.lwm
...n/webapp/WEB-INF/classes/wx/WX100/con_file_list_query.lwm
+6
-6
con_contract_query.lsc
src/main/webapp/modules/wx/WX100/con_contract_query.lsc
+4
-2
No files found.
src/main/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
View file @
f053a568
...
...
@@ -84,6 +84,7 @@ select *
where t1.data_class in ('NORMAL','CHANGE_REQ')
and t1.ec_sign_type in ('INITIATE', 'SIGNING')
and t1.sign_type = 'ELE_SIGN'
and exists (select 1 from con_contract_ele_flow cf where cf.contract_id = t1.contract_id)
and ((${@account_type} = 'PE' and exists
(select 1
from con_contract_bp ccb, hls_bp_master hb
...
...
@@ -97,6 +98,9 @@ select *
from hls_bp_master_signer hs
where hs.hls_bp_signer_id = t1.signer
and hs.id_card = ${@id_no})
and exists (select 1 from hls_bp_master hbm
where hbm.bp_id = t1.bp_id_tenant
and hbm.social_code = ${@organization_id})
and exists (select 1 from con_contract_ele_signer cs
where cs.id_no = ${@id_no}
and cs.contract_id = t1.contract_id)) or
...
...
@@ -108,13 +112,16 @@ select *
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
and cs.contract_id = t1.contract_id)
) or
(${@account_type} = 'AG' and exists
(select 1
from con_contract_bp cb
from con_contract_bp cb,hls_bp_master hbm
where cb.contract_id = t1.contract_id
and cb.bp_category = 'GUARANTOR'
and cb.bp_class = 'ORG'
and cb.bp_id = hbm.bp_id
and hbm.social_code = ${@organization_id}
and cb.id_card_no_leg = ${@id_no})) or
(${@account_type} = 'LP' and exists
(select 1
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_file_download.lwm
View file @
f053a568
...
...
@@ -48,27 +48,27 @@ select fa.file_name,fa.file_path,fa.attachment_id
from con_ele_signer_file cf, con_contract_ele_signer cs
where cf.con_ele_signer_id = cs.con_ele_signer_id
and cs.contract_id = ${@contract_id}
and ((((select cb.bp_category
and (((
'AGENT' not 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)
!= 'AGENT'
or
(select cb.bp_category
and cb.contract_id = cs.contract_id) or
not exists (select 1
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) is null
)
and cb.contract_id = cs.contract_id)
)
and exists (select 1 from hls_doc_file_templet_signer hs,con_clause_templet ct,hls_doc_file_templet ht
where hs.templet_id = ht.templet_id
and ht.templet_code = ct.templet_code
and ct.templet_id = cf.templet_id
and hs.enable_flag = 'Y'
and hs.signer_category not in ('AGENCY_STORE_SEAL','AGENCY_STORE_SIGN','HONGLING_SEAL','HONGLING_SIGN')))
or (select cb.bp_category
or
'AGENT' 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)
= 'AGENT'
))
and cb.contract_id = cs.contract_id)))
and pi.cdd_list_id =
(select cc.cdd_list_id
from con_contract cc
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_file_list_query.lwm
View file @
f053a568
...
...
@@ -25,16 +25,16 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq
from con_ele_signer_file cf, con_contract_ele_signer cs
where cf.con_ele_signer_id = cs.con_ele_signer_id
and cs.contract_id = cc.contract_id
and ((((select cb.bp_category
and (((
'AGENT' not 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)
!= 'AGENT'
or
(select cb.bp_category
and cb.contract_id = cc.contract_id)or
not exists(select 1
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)
is null
) and
and cb.contract_id = cc.contract_id)) and
exists (select 1
from hls_doc_file_templet_signer hs,
con_clause_templet ct,
...
...
@@ -48,11 +48,11 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq
'AGENCY_STORE_SIGN',
'HONGLING_SEAL',
'HONGLING_SIGN'))) or
(select cb.bp_category
'AGENT' 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)
= 'AGENT'
))
and cb.contract_id = cc.contract_id)))
order by ct.order_seq
]]>
</bm:query-sql>
</bm:operation>
...
...
src/main/webapp/modules/wx/WX100/con_contract_query.lsc
View file @
f053a568
...
...
@@ -13,14 +13,16 @@
contract_list_map = contract_list_bm.queryAsMap({
id_no:$ctx.parameter.idNo,
id_type:$ctx.parameter.IdType,
account_type: $ctx.parameter.accountType
account_type: $ctx.parameter.accountType,
organization_id:$ctx.parameter.organizationId
});
}else{
contract_list_map = contract_list_bm.queryAsMap({
id_no:$ctx.parameter.idNo,
id_type:$ctx.parameter.IdType,
account_type: $ctx.parameter.accountType,
contract_number:inputData
organization_id:$ctx.parameter.organizationId,
contract_number:inputData,
});
}
contract_list_details = contract_list_map.getChildren();
...
...
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