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
5665dcfc
Commit
5665dcfc
authored
Mar 18, 2021
by
李贺贺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
催收记录租赁物下拉框取值调整
parent
172fae59
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
7 deletions
+68
-7
sys_code_value_v_lease.lwm
...n/webapp/WEB-INF/classes/basic/sys_code_value_v_lease.lwm
+59
-0
con_contract_dun_for_query.lwm
...EB-INF/classes/cont/CON620/con_contract_dun_for_query.lwm
+5
-4
con_contract_rent_dun_query.lview
...app/modules/cont/CON620/con_contract_rent_dun_query.lview
+4
-3
No files found.
src/main/webapp/WEB-INF/classes/basic/sys_code_value_v_lease.lwm
0 → 100644
View file @
5665dcfc
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT v.code_value AS value_code, v.code_value_name AS value_name
FROM sys_code_values_v v
WHERE v.code_enabled_flag = 'Y'
AND v.code_value_enabled_flag = 'Y'
AND v.code = 'DIVISION'
AND EXISTS
(SELECT 1
FROM exp_emp_assign_e_v t
WHERE t.user_id = ${/session/@user_id}
AND unit_code IN ('9998')
and PARENT_UNIT_ID = 1544
AND v.code_value IN ('50'))
UNION ALL
SELECT v.code_value AS value_code, v.code_value_name AS value_name
FROM sys_code_values_v v
WHERE v.code_enabled_flag = 'Y'
AND v.code_value_enabled_flag = 'Y'
AND v.code = 'DIVISION'
AND EXISTS (SELECT 1
FROM exp_emp_assign_e_v t
WHERE t.user_id = ${/session/@user_id}
AND unit_code NOT IN ('9998')
and PARENT_UNIT_ID = 1544
AND v.code_value IN ('10', '20', '30', '40'))
UNION ALL
SELECT v.code_value AS value_code, v.code_value_name AS value_name
FROM sys_code_values_v v
WHERE v.code_enabled_flag = 'Y'
AND v.code_value_enabled_flag = 'Y'
AND v.code = 'DIVISION'
AND EXISTS (SELECT 1
FROM exp_emp_assign_e_v t
WHERE t.user_id = ${/session/@user_id}
and PARENT_UNIT_ID <>
1544
AND v.code_value IN ('10', '20', '30', '40','50'))
UNION ALL
SELECT v.code_value AS value_code, v.code_value_name AS value_name
FROM sys_code_values_v v
WHERE v.code_enabled_flag = 'Y'
AND v.code_value_enabled_flag = 'Y'
AND v.code = 'DIVISION'
AND v.code_value IN ('10', '20', '30', '40','50')
AND NOT EXISTS (SELECT 1
FROM exp_emp_assign_e_v t
WHERE t.user_id = ${/session/@user_id}
)
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"value_code"
/>
<bm:field
name=
"value_name"
/>
</bm:fields>
</bm:model>
\ No newline at end of file
src/main/webapp/WEB-INF/classes/cont/CON620/con_contract_dun_for_query.lwm
View file @
5665dcfc
...
@@ -60,10 +60,11 @@
...
@@ -60,10 +60,11 @@
WHERE a.enabled_flag = 'Y'
WHERE a.enabled_flag = 'Y'
AND a.business_type = cc.business_type) business_type_n,
AND a.business_type = cc.business_type) business_type_n,
cc.data_class,
cc.data_class,
(SELECT hd.description
-- add by lihh 20210317 租赁物
FROM hls_division hd
(SELECT v.code_value_name
WHERE hd.enabled_flag = 'Y'
FROM sys_code_values_v v
AND hd.division = cc.division) division_n,
where v.code = 'DIVISION'
and v.code_value = cc.division) division_n,
cc.division,
cc.division,
contract_item_query_pkg.calc_ac_overdue_times(p_contract_id => cc.contract_id,
contract_item_query_pkg.calc_ac_overdue_times(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_calc_date => SYSDATE,
...
...
src/main/webapp/modules/cont/CON620/con_contract_rent_dun_query.lview
View file @
5665dcfc
...
@@ -347,7 +347,8 @@
...
@@ -347,7 +347,8 @@
]]>
</script>
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:dataSets>
<a:dataSets>
<a:dataSet
id=
"con501_division_name_ds"
loadData=
"true"
model=
"basic.hls_division_for_lov"
/>
<!-- <a:dataSet id="con501_division_name_ds" loadData="true" model="basic.hls_division_for_lov"/>-->
<a:dataSet
id=
"con501_division_name_ds"
loadData=
"true"
model=
"basic.sys_code_value_v_lease"
/>
<a:dataSet
id=
"business_type_ds"
>
<a:dataSet
id=
"business_type_ds"
>
<a:datas>
<a:datas>
<a:record
code_value=
"LEASE"
code_value_name=
"直租"
/>
<a:record
code_value=
"LEASE"
code_value_name=
"直租"
/>
...
@@ -384,8 +385,8 @@
...
@@ -384,8 +385,8 @@
valueField=
"lease_organization"
/>
valueField=
"lease_organization"
/>
<a:field
name=
"business_type_n"
displayField=
"code_value_name"
options=
"business_type_ds"
<a:field
name=
"business_type_n"
displayField=
"code_value_name"
options=
"business_type_ds"
returnField=
"business_type"
valueField=
"code_value"
/>
returnField=
"business_type"
valueField=
"code_value"
/>
<a:field
name=
"division_n"
displayField=
"
description
"
options=
"con501_division_name_ds"
<a:field
name=
"division_n"
displayField=
"
value_name
"
options=
"con501_division_name_ds"
returnField=
"division"
valueField=
"
division
"
/>
returnField=
"division"
valueField=
"
value_code
"
/>
</a:fields>
</a:fields>
</a:dataSet>
</a:dataSet>
<a:dataSet
id=
"CON620_contract_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
<a:dataSet
id=
"CON620_contract_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
...
...
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