and (dept_code=#{query.deptCodeOrName} or dept_name=#{query.deptCodeOrName}) and dept_status=#{query.deptStatus} delete from t_base_department where id in #{item}