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
6dfef862
Commit
6dfef862
authored
May 07, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.企业管理调整为账户account_code
parent
be633ec1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
XS03.xml
src/main/java/com/baosight/xservices/xs/sql/XS03.xml
+10
-9
No files found.
src/main/java/com/baosight/xservices/xs/sql/XS03.xml
View file @
6dfef862
...
...
@@ -184,13 +184,14 @@
t2.group_cname as "text",
0 as "leaf",
t2.group_type as "isManagerGroup"
FROM ${platSchema}.XS_USER_GROUP_MEMBER t1,${platSchema}.XS_USER_GROUP t2
FROM ${platSchema}.XS_USER_GROUP_MEMBER t1,
${platSchema}.XS_USER_GROUP t2
WHERE
t1.member_id = t2.ID
AND t1.parent_id = #parentId#
AND t2.group_ename != 'ADMIN'
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
t2.
company_code = #company
Code#
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
t2.
account_code = #account
Code#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
...
...
@@ -333,8 +334,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
company_code = #company
Code#
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
account_code = #account
Code#
</isNotEmpty>
</select>
...
...
@@ -361,8 +362,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
company_code = #company
Code#
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
account_code = #account
Code#
</isNotEmpty>
</select>
...
...
@@ -387,8 +388,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
login_name like ('%$loginName$%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
company_code = #company
Code#
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
account_code = #account
Code#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"sqlCondition"
>
( USER_GROUP_ENAME $sqlCondition$ or USER_GROUP_ENAME is null )
...
...
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