Commit 1615ff0b authored by 赵啸非's avatar 赵啸非

添加大厅与窗口关联

No related merge requests found
......@@ -8,12 +8,12 @@
FROM
mortals_sys_window AS a
LEFT JOIN ( SELECT windowId FROM mortals_sys_window_hall
<trim suffixOverrides="where" suffix="">
)AS b ON a.id = b.windowId where b.hallId IS NULL
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''">
where siteId = #{condition.siteId,jdbcType=VARCHAR}
and a.siteId = #{condition.siteId}
</if>
</trim>
)AS b ON a.id = b.windowId where b.hallId IS NULL
</select>
<!-- 获取事项差集列表列表 -->
......@@ -23,11 +23,13 @@
FROM
mortals_sys_window AS a
LEFT JOIN ( SELECT windowId FROM mortals_sys_window_hall
<trim suffixOverrides="where" suffix="">
)AS b ON a.id = b.windowId where b.hallId IS NULL
<trim prefixOverrides="and" prefix="">
<if test="condition.siteId!=null and condition.siteId!=''">
where siteId = #{condition.siteId,jdbcType=VARCHAR}
and a.siteId = #{condition.siteId}
</if>
</trim>
)AS b ON a.id = b.windowId where b.hallId IS NULL
</select>
</mapper>
\ No newline at end of file
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