Commit 55f2fddb by huangjy

fix:房态管理-房间全景:所属空间要返回

parent e331e534
...@@ -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="">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment