Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
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
platform
hg-smart
Commits
5a2ab32b
Commit
5a2ab32b
authored
Sep 07, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-09-06 app生产任务查询修改
parent
f3aebddc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
HGSC007.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
+0
-0
HGXSDataAuth.xml
src/main/java/com/baosight/hggp/hg/xs/sql/HGXSDataAuth.xml
+8
-1
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
View file @
5a2ab32b
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/xs/sql/HGXSDataAuth.xml
View file @
5a2ab32b
...
@@ -43,6 +43,13 @@
...
@@ -43,6 +43,13 @@
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
A.ACCOUNT_CODE = #accountCode#
A.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
</isNotEmpty>
<!-- 0:不启用角色权限,1或者空:启用-->
<isNotEqual
property=
"enableRoleAuth"
compareValue=
"0"
>
<include
refid=
"HGXSDataAuth.roleAuthConditionA"
/>
</isNotEqual>
</sql>
<sql
id=
"roleAuthConditionA"
>
<!-- 无权限时使用 -->
<!-- 无权限时使用 -->
<isNotEmpty
prepend=
" AND "
property=
"authDepCode"
>
<isNotEmpty
prepend=
" AND "
property=
"authDepCode"
>
A.DEP_CODE = #authDepCode#
A.DEP_CODE = #authDepCode#
...
@@ -50,7 +57,7 @@
...
@@ -50,7 +57,7 @@
<!-- 仅本人和部门组合 -->
<!-- 仅本人和部门组合 -->
<isEqual
prepend=
" AND "
property=
"authCombination"
compareValue=
"1"
>
<isEqual
prepend=
" AND "
property=
"authCombination"
compareValue=
"1"
>
(A.CREATED_BY = #authOnlyPeople# OR A.DEP_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
(A.CREATED_BY = #authOnlyPeople# OR A.DEP_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"authDepCodes"
>
#authDepCodes[]#
</iterate>
)
property=
"authDepCodes"
>
#authDepCodes[]#
</iterate>
)
</isEqual>
</isEqual>
<!-- 仅本人或部门 -->
<!-- 仅本人或部门 -->
<isNotEqual
prepend=
" AND "
property=
"authCombination"
compareValue=
"1"
>
<isNotEqual
prepend=
" AND "
property=
"authCombination"
compareValue=
"1"
>
...
...
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