<update id="importDept" parameterType="java.util.Map">
update sys_user set organization_id = #{deptId} ,
company_id = #{companyId} where id in
<foreach item="item" index="index" collection="userIds"
open="(" separator="," close=")">
#{item}
</foreach>
</update>
update sys_user set organization_id = #{deptId} ,
company_id = #{companyId} where id in
<foreach item="item" index="index" collection="userIds"
open="(" separator="," close=")">
#{item}
</foreach>
</update>