|
|
@ -76,13 +76,13 @@
|
|
|
|
<if test="updateId != null ">and a.update_id = #{updateId}</if>
|
|
|
|
<if test="updateId != null ">and a.update_id = #{updateId}</if>
|
|
|
|
<if test="userId != null ">and a.user_id = #{userId}</if>
|
|
|
|
<if test="userId != null ">and a.user_id = #{userId}</if>
|
|
|
|
<if test="deptId != null ">and a.dept_id = #{deptId}</if>
|
|
|
|
<if test="deptId != null ">and a.dept_id = #{deptId}</if>
|
|
|
|
<if test="district != '' and district.length==3">
|
|
|
|
<if test="district != null and district.length==3">
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="district != '' and district.length==6">
|
|
|
|
<if test="district != null and district.length==6">
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="district != null and district != ''">
|
|
|
|
<if test="district != null and district != '' and district.length!=3 and district.length!=6">
|
|
|
|
and a.district in
|
|
|
|
and a.district in
|
|
|
|
<foreach item="item" index="index" collection="district.split(',')" open="(" separator="," close=")">
|
|
|
|
<foreach item="item" index="index" collection="district.split(',')" open="(" separator="," close=")">
|
|
|
|
#{item}
|
|
|
|
#{item}
|
|
|
|