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
c2eb2816
Commit
c2eb2816
authored
Apr 15, 2024
by
panhong18943
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同佣金
parent
38216b96
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
371 additions
and
1 deletion
+371
-1
insert_comsn_reconcilia_temp.lwm
...B-INF/classes/csh/CSH551/insert_comsn_reconcilia_temp.lwm
+35
-0
submit_comsn_selected.lwm
...bapp/WEB-INF/classes/csh/CSH551/submit_comsn_selected.lwm
+35
-0
csh551_g_f_result_queryfields.js
...rver-script/layoutconfig/csh551_g_f_result_queryfields.js
+7
-0
csh551_g_n_result_queryfields.js
...rver-script/layoutconfig/csh551_g_n_result_queryfields.js
+12
-0
hsbc110_m_result_queryfields.js
...erver-script/layoutconfig/hsbc110_m_result_queryfields.js
+1
-1
con_comsn_reconcilia_query.lview
...ebapp/modules/csh/CSH551/con_comsn_reconcilia_query.lview
+228
-0
con_comsn_reconcilia_wfl.lview
.../webapp/modules/csh/CSH551/con_comsn_reconcilia_wfl.lview
+42
-0
submit_comsn_selected.lsc
src/main/webapp/modules/csh/CSH551/submit_comsn_selected.lsc
+11
-0
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH551/insert_comsn_reconcilia_temp.lwm
0 → 100644
View file @
c2eb2816
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: ZLF
$Date: 2014-12-8 上午11:04:41
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
BEGIN
hlcm_comsn_reconcilia_pkg.insert_comsn_reconcilia_temp(p_session_id =>
${/session/@session_id},
p_policy_hd_id => ${@policy_hd_id},
p_user_id => ${/session/@user_id});
END;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select count(1) count
from hlcm_comsn_reconcilia_temp t
where t.session_id = ${/session/@session_id}
and not exists
(select 1
from hlcm_comsn_reconcilia r
where r.contract_id = t.contract_id
and r.wfl_status in ('NEW', 'APPROVING', 'APPROVED'))
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"count"
/>
</bm:fields>
</bm:model>
src/main/webapp/WEB-INF/classes/csh/CSH551/submit_comsn_selected.lwm
0 → 100644
View file @
c2eb2816
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: ZLF
$Date: 2014-12-8 上午11:04:41
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"delete"
>
<bm:update-sql>
<![CDATA[
begin
delete from hlcm_comsn_reconcilia_wfl_temp t where t.session_id = ${/session/@session_id};
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
BEGIN
hlcm_comsn_reconcilia_pkg.create_comsn_wfl_temp(p_session_id =>
${/session/@session_id},
p_contract_id => ${@contract_id},
p_user_id => ${/session/@user_id});
END;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
BEGIN
hlcm_comsn_reconcilia_pkg.comsn_submit(p_session_id =>
${/session/@session_id},
p_user_id => ${/session/@user_id});
END;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/server-script/layoutconfig/csh551_g_f_result_queryfields.js
0 → 100644
View file @
c2eb2816
var
add_datafilters
=
[{
name
:
'wfl_status'
,
expression
:
"t1.wfl_status in ('APPROVING','APPROVED')"
}];
add_datafilter
();
src/main/webapp/WEB-INF/server-script/layoutconfig/csh551_g_n_result_queryfields.js
0 → 100644
View file @
c2eb2816
var
override_queryfields
=
[
{
name
:
'overdue_max_days_f'
,
queryexpression
:
"t1.overdue_max_days >= ${@overdue_max_days_f}"
},
{
name
:
'overdue_max_days_t'
,
queryexpression
:
"t1.overdue_max_days <= ${@overdue_max_days_t}"
}
];
override
();
src/main/webapp/WEB-INF/server-script/layoutconfig/hsbc110_m_result_queryfields.js
View file @
c2eb2816
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
var
add_datafilters
=
[
var
add_datafilters
=
[
{
{
name
:
'init_filter'
,
name
:
'init_filter'
,
expression
:
"t1.status in ('NEW','ERROR','FINISHED','SEND_MID','CONFIRM1_ERROR','CONFIRM2_FULL_ERROR') and t1.cf_item
= '40'
"
expression
:
"t1.status in ('NEW','ERROR','FINISHED','SEND_MID','CONFIRM1_ERROR','CONFIRM2_FULL_ERROR') and t1.cf_item
in ('40','911')
"
}
}
];
];
...
...
src/main/webapp/modules/csh/CSH551/con_comsn_reconcilia_query.lview
0 → 100644
View file @
c2eb2816
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/csh/CSH551/con_comsn_reconcilia_wfl.lview
0 → 100644
View file @
c2eb2816
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zhangxing5129
$Date: 2014-8-1 下午02:44:52
$Revision: 1.0
$Purpose: 合同维护
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:view>
<a:link
id=
"wfl_con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
Leaf.onReady(function () {
var batch_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_comsn_reconcilia_batch');
var comsn_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_comsn_reconcilia');
$(batch_ds_id).setQueryParameter('batch_id', '${/parameter/@batch_id}');
$(comsn_ds_id).setQueryParameter('batch_id', '${/parameter/@batch_id}');
$(batch_ds_id).query();
$(comsn_ds_id).query();
});
if ('${/parameter/@layout_code}' == 'CSH551WFL_M') {
zjwfl5110_ApproveChecker_add('zjwfl5110_submit', function(type) {
var root_ds = $('${/parameter/@layout_code}_virtual_ds');
if (type == 'agree') {
if (root_ds.validate()) {
//提交先保存
root_ds.submit();
return true;
} else {
return false;
}
}else{
return true;
}
});
}
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
src/main/webapp/modules/csh/CSH551/submit_comsn_selected.lsc
0 → 100644
View file @
c2eb2816
<?xml version="1.0" encoding="UTF-8"?>
<a:service
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:p=
"uncertain.proc"
trace=
"true"
>
<a:init-procedure>
<a:model-delete
model=
"csh.CSH551.submit_comsn_selected"
/>
<batch-apply
sourcepath=
"/parameter"
>
<a:model-execute
model=
"csh.CSH551.submit_comsn_selected"
/>
</batch-apply>
<a:model-update
model=
"csh.CSH551.submit_comsn_selected"
/>
</a:init-procedure>
<a:service-output
output=
"/parameter"
/>
</a:service>
\ No newline at end of file
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