@@ -63,6 +63,12 @@
<if test="reqVO.createTime.length > 1 and reqVO.createTime[1] != null">
AND a.create_time <= #{reqVO.createTime[1]}
</if>
+ <if test="deptIds != null and deptIds.size > 0">
+ AND a.dept_id IN
+ <foreach collection="deptIds" index="index" item="key" open="(" separator="," close=")">
+ #{key}
+ </foreach>
+ </if>
</where>
</select>
</mapper>