Commit ff021d4f authored by 周昊's avatar 周昊

1、修改楼层报错问题

parent 05d22ac6
...@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN sys_dept d ON b.dept_id = d.dept_id LEFT JOIN sys_dept d ON b.dept_id = d.dept_id
<where> <where>
<if test="buildingName != null "> and b.building_name like concat('%', #{buildingName}, '%')</if> <if test="buildingName != null "> and b.building_name like concat('%', #{buildingName}, '%')</if>
<if test="buildingId != null "> and b.building_id = #{buildingId}</if> <if test="buildingId != null "> and f.building_id = #{buildingId}</if>
<if test="name != null and name != ''"> and f.name like concat('%', #{name}, '%')</if> <if test="name != null and name != ''"> and f.name like concat('%', #{name}, '%')</if>
<if test="type != null and type != ''"> and f.type = #{type}</if> <if test="type != null and type != ''"> and f.type = #{type}</if>
<if test="roomNumber != null "> and f.room_number = #{roomNumber}</if> <if test="roomNumber != null "> and f.room_number = #{roomNumber}</if>
......
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