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 @@
...
@@ -184,13 +184,14 @@
t2.group_cname as "text",
t2.group_cname as "text",
0 as "leaf",
0 as "leaf",
t2.group_type as "isManagerGroup"
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
WHERE
t1.member_id = t2.ID
t1.member_id = t2.ID
AND t1.parent_id = #parentId#
AND t1.parent_id = #parentId#
AND t2.group_ename != 'ADMIN'
AND t2.group_ename != 'ADMIN'
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
t2.
company_code = #company
Code#
t2.
account_code = #account
Code#
</isNotEmpty>
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
<isNotEmpty
property=
"orderBy"
>
...
@@ -333,8 +334,8 @@
...
@@ -333,8 +334,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
company_code = #company
Code#
account_code = #account
Code#
</isNotEmpty>
</isNotEmpty>
</select>
</select>
...
@@ -361,8 +362,8 @@
...
@@ -361,8 +362,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
id in (
<include
refid=
"getAllManagerGroupsByLoginNameDetail"
/>
)
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
company_code = #company
Code#
account_code = #account
Code#
</isNotEmpty>
</isNotEmpty>
</select>
</select>
...
@@ -387,8 +388,8 @@
...
@@ -387,8 +388,8 @@
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
<isNotEmpty
prepend=
" AND "
property=
"loginName"
>
login_name like ('%$loginName$%')
login_name like ('%$loginName$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"
company
Code"
>
<isNotEmpty
prepend=
" AND "
property=
"
account
Code"
>
company_code = #company
Code#
account_code = #account
Code#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"sqlCondition"
>
<isNotEmpty
prepend=
" AND "
property=
"sqlCondition"
>
( USER_GROUP_ENAME $sqlCondition$ or USER_GROUP_ENAME is null )
( 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