Commit 512d36ae authored by 赵啸非's avatar 赵啸非

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

parent 55bcc857
......@@ -42,8 +42,6 @@ public class WindowController extends BaseCRUDJsonBodyMappingController<WindowSe
@Autowired
private ParamService paramService;
@Autowired
private WindowBusinessService windowBusinessService;
public WindowController() {
......
......@@ -41,7 +41,7 @@
mortals_sys_window w,
mortals_sys_window_hall wh
<trim suffixOverrides="where" suffix="">
where w.id = wh.windowId
where w.id = wh.windowId and
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''">
and w.siteId = #{condition.siteId}
......@@ -50,7 +50,7 @@
and w.deptId = #{condition.deptId}
</if>
<if test="condition.containsKey('deptIdList')">
w.deptId in
and w.deptId in
<foreach collection="condition.deptIdList" open="(" close=")" index="index"
item="item" separator=",">
#{item}
......
......@@ -27,7 +27,7 @@ POST {{baseUrl}}/window/getHallByDept
Content-Type: application/json
{
"deptId":1
"deptId":426
}
......
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