Commit 23640e47 authored by 赵啸非's avatar 赵啸非

添加大厅与窗口关联

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