Commit 2cecfa52 authored by 赵啸非's avatar 赵啸非

添加大厅与窗口关联

parent 1615ff0b
......@@ -8,7 +8,7 @@
FROM
mortals_sys_window AS a
LEFT JOIN ( SELECT windowId FROM mortals_sys_window_hall
)AS b ON a.id = b.windowId where b.hallId IS NULL
)AS b ON a.id = b.windowId where b.hallId IS NULL and
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''">
and a.siteId = #{condition.siteId}
......@@ -23,7 +23,7 @@
FROM
mortals_sys_window AS a
LEFT JOIN ( SELECT windowId FROM mortals_sys_window_hall
)AS b ON a.id = b.windowId where b.hallId IS NULL
)AS b ON a.id = b.windowId where b.hallId IS NULL and
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''">
......
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