@@ -285,7 +285,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null and status != 0">
and u.status=#{status}
</if>
- <if test="ids != null">
+ <if test="ids != null and ids.size>0">
and u.id in
<foreach item="items" collection="ids" separator="," open="(" close=")" index="">
#{items}