|
|
@ -76,7 +76,7 @@
|
|
|
|
<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 != null and district != ''">
|
|
|
|
<if test="district != null and district != ''">
|
|
|
|
and s.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}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|