update sys_dept set ancestors = when #{item.deptId} then #{item.ancestors} where dept_id in #{item.deptId}