@classmethod
def update_current_department_user_by_data(cls, user_code_list,
    current_org_code, department_id, operation):
    """
        将当前用户添加进此部门或移出此部门
        :return:
        """
    if operation == 'remove':
        cls.objects(user_code__in=user_code_list, org_role__org_code=
            current_org_code).update(__raw__={'$pull': {
            'org_role.$.department_id': department_id}})
    else:
        cls.objects(user_code__in=user_code_list, org_role__org_code=
            current_org_code).update(__raw__={'$push': {
            'org_role.$.department_id': department_id}})
