|
@@ -91,7 +91,7 @@
|
|
|
<if test="name != null and name != ''">and name like t.concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''">and name like t.concat('%', #{name}, '%')</if>
|
|
|
<if test="type != null ">and t.type = #{type}</if>
|
|
<if test="type != null ">and t.type = #{type}</if>
|
|
|
<if test="floorId != null ">and t.floor_id = #{floorId}</if>
|
|
<if test="floorId != null ">and t.floor_id = #{floorId}</if>
|
|
|
- <if test="buildId != null ">and t.build_id = #{buildId}</if>
|
|
|
|
|
|
|
+ <if test="buildId != null ">and (t.build_id = #{buildId} or s.build_id = #{buildId})</if>
|
|
|
<if test="operate != null ">and t.operate = #{operate}</if>
|
|
<if test="operate != null ">and t.operate = #{operate}</if>
|
|
|
<if test="functionStatus != null and functionStatus != ''">and t.function_status = #{functionStatus}</if>
|
|
<if test="functionStatus != null and functionStatus != ''">and t.function_status = #{functionStatus}</if>
|
|
|
<if test="deptId != null and deptId != ''">and t.dept_id = #{deptId}</if>
|
|
<if test="deptId != null and deptId != ''">and t.dept_id = #{deptId}</if>
|