@classmethod
def get_integral_rule_list_by_kwargs(cls, **kwargs):
    """
        根据kwargs字典获取积分规则数据
        :param kwargs:
        :return:
        """
    org_id = kwargs.get('org_id', '')
    integral_rule_type = kwargs.get('integral_rule_type', '')
    child_rule_type = kwargs.get('child_rule_type', '')
    integral_condition = kwargs.get('integral_condition', '')
    receive_integral_count = kwargs.get('receive_integral_count', '')
    if (org_id and integral_rule_type and child_rule_type and
        integral_condition and receive_integral_count):
        return cls.objects(org_id=org_id, integral_rule_type=
            integral_rule_type, child_rule_type=child_rule_type,
            integral_condition=integral_condition, receive_integral_count=
            receive_integral_count, status__nin=[cls.get_dict_id(
            'integral_status', '删除')]).all()
    elif org_id and integral_rule_type and integral_condition and receive_integral_count:
        return cls.objects(org_id=org_id, integral_rule_type=
            integral_rule_type, integral_condition=int(integral_condition),
            receive_integral_count=int(receive_integral_count), status__nin
            =[cls.get_dict_id('integral_status', '删除')]).all()
