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

添加大厅与窗口关联

parent 66598bc1
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
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
<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!=''"> <if test="condition.siteId!=null and condition.siteId!=''">
where siteId = #{condition.siteId,jdbcType=VARCHAR} and a.siteId = #{condition.siteId}
</if> </if>
</trim> </trim>
)AS b ON a.id = b.windowId where b.hallId IS NULL
</select> </select>
<!-- 获取事项差集列表列表 --> <!-- 获取事项差集列表列表 -->
...@@ -23,11 +23,13 @@ ...@@ -23,11 +23,13 @@
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
<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!=''"> <if test="condition.siteId!=null and condition.siteId!=''">
where siteId = #{condition.siteId,jdbcType=VARCHAR} and a.siteId = #{condition.siteId}
</if> </if>
</trim> </trim>
)AS b ON a.id = b.windowId where b.hallId IS NULL
</select> </select>
</mapper> </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