Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
55f2fddb
authored
Nov 01, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:房态管理-房间全景:所属空间要返回
parent
e331e534
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server-service/src/main/resources/mappers/PlatSpaceMapper.xml
server-service/src/main/resources/mappers/PlatSpaceMapper.xml
View file @
55f2fddb
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<select
id=
"spaceListExcludeLast"
resultType=
"com.makeit.vo.platform.space.PlatSpaceAndRoomVO"
>
<select
id=
"spaceListExcludeLast"
resultType=
"com.makeit.vo.platform.space.PlatSpaceAndRoomVO"
>
SELECT ps.id,ps.`name`,ps.parent_id as parentId FROM plat_space ps
SELECT ps.id,ps.`name`,ps.parent_id as parentId FROM plat_space ps
<where>
<where>
ps.id in (SELECT parent_id FROM `plat_space` WHERE del_flag =0) and
ps.del_flag = 0
ps.del_flag = 0
<if
test=
"orgIds != null and orgIds.size() > 0 "
>
<if
test=
"orgIds != null and orgIds.size() > 0 "
>
AND ps.org_id in
AND ps.org_id in
<foreach
collection=
"orgIds"
item=
"item"
separator=
","
open=
"("
close=
")"
index=
""
>
<foreach
collection=
"orgIds"
item=
"item"
separator=
","
open=
"("
close=
")"
index=
""
>
...
...
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