Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
c7897211
Commit
c7897211
authored
Dec 09, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
f1b24b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysOrganizationViewMapper.xml
...atis/mapper/pps/core/system/SysOrganizationViewMapper.xml
+19
-1
No files found.
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysOrganizationViewMapper.xml
View file @
c7897211
...
@@ -271,7 +271,25 @@
...
@@ -271,7 +271,25 @@
</select>
</select>
<select
id=
"selectAllListByOuId"
parameterType=
"pps.core.system.entity.SysOrganizationView"
<select
id=
"selectAllListByOuId"
parameterType=
"pps.core.system.entity.SysOrganizationView"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
databaseId=
"Oracle"
>
SELECT S.ID,
R.PARENT_OU_ID,
S.OU_NAME,
S.SHORT_NAME,
S.LONGITUDE,
S.LATITUDE
FROM SYS_ORGANIZATION_REL R
LEFT JOIN SYS_ORGANIZATION S ON R.OU_ID = S.ID
WHERE S.IS_DELETED = #{isDeleted}
AND (R.OU_ID = #{id} OR R.OU_ID_PATH LIKE '%' || #{id} || '%')
<if
test=
"ouLevel != null and ouLevel !=''"
>
AND S.OU_LEVEL = #{ouLevel}
</if>
ORDER BY S.CREATE_TIME
</select>
<select
id=
"selectAllListByOuId"
parameterType=
"pps.core.system.entity.SysOrganizationView"
resultMap=
"BaseResultMap"
databaseId=
"MySQL"
>
SELECT S.ID,
SELECT S.ID,
R.PARENT_OU_ID,
R.PARENT_OU_ID,
S.OU_NAME,
S.OU_NAME,
...
...
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