Commit 55bcc857 authored by 赵啸非's avatar 赵啸非

添加根据部门id 查询所属大厅

parent 80aae2fd
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
where w.id = wh.windowId where w.id = wh.windowId
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''"> <if test="condition.siteId!=null and condition.siteId!=''">
and a.siteId = #{condition.siteId} and w.siteId = #{condition.siteId}
</if> </if>
<if test="condition.deptId!=null and condition.deptId!=''"> <if test="condition.deptId!=null and condition.deptId!=''">
and a.deptId = #{condition.deptId} and w.deptId = #{condition.deptId}
</if> </if>
<if test="condition.containsKey('deptIdList')"> <if test="condition.containsKey('deptIdList')">
deptId in w.deptId in
<foreach collection="condition.deptIdList" open="(" close=")" index="index" <foreach collection="condition.deptIdList" open="(" close=")" index="index"
item="item" separator=","> item="item" separator=",">
#{item} #{item}
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</if> </if>
</trim> </trim>
GROUP BY GROUP BY
hallId wh.hallId
</trim> </trim>
</select> </select>
......
...@@ -23,13 +23,11 @@ Content-Type: application/json ...@@ -23,13 +23,11 @@ Content-Type: application/json
###站点部门窗口列表 ###站点部门窗口列表
POST {{baseUrl}}/window/subHalllist POST {{baseUrl}}/window/getHallByDept
Content-Type: application/json Content-Type: application/json
{ {
"deptId":1, "deptId":1
"page":1,
"size":10
} }
......
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 to comment