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
fa994f27
Commit
fa994f27
authored
Dec 14, 2020
by
lek123123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维护条件值 解决条件不生效bug
parent
f3c155ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
sys_dimensions_detail.lwm
...app/WEB-INF/classes/sys/SYS8210/sys_dimensions_detail.lwm
+50
-0
No files found.
src/main/webapp/WEB-INF/classes/sys/SYS8210/sys_dimensions_detail.lwm
0 → 100644
View file @
fa994f27
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:o=
"leaf.database.local.oracle"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
xmlns:f=
"leaf.database.features"
alias=
"t1"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT
t.*,(select description from sys_condition c where c.condition_code = t.condition_code)condition_code_desc
FROM
${:@generated_table} t #WHERE_CLAUSE# order by 1
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"insert"
>
<bm:update-sql>
<![CDATA[
begin
sys_condition_value_pkg.insert_sys_condition_value(p_table_name=>
${@generated_table},
p_mapping_condition=>${@mapping_condition},
p_mapping_condition_value=>${@mapping_condition_value},
p_user_id=>${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
sys_condition_value_pkg.update_sys_condition_value(p_table_name=>
${@generated_table},
p_condition_record_id=>${@condition_record_id},
p_mapping_condition=>${@mapping_condition},
p_mapping_condition_value=>${@mapping_condition_value},
p_user_id=>${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"delete"
>
<bm:update-sql>
<![CDATA[
BEGIN
sys_condition_value_pkg.delete_sys_condition_value(p_table_name=>
${@generated_table}, p_condition_record_id=>${@condition_record_id}, p_user_id=>${/session/@user_id} );
END;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
<bm:query-fields>
<bm:query-field
name=
"function"
queryExpression=
"t.function=${@function}"
/>
</bm:query-fields>
</bm:model>
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