@classmethod
def get_user_by_user_code(cls, user_code):
    """
        根据user_code查询当前用户
        :param user_code: 
        :return: 
        """
    return cls.objects(user_code=user_code, status__in=[cls.get_status('正常')]
        ).first()
