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

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

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