@classmethod
def get_recharge_rule_list_by_kwargs(cls, **kwargs):
    """
        根据kwargs字典获取充值方案列表
        :param kwargs:
        :return:
        """
    org_id = kwargs.get('org_id')
    rule_apply_type = kwargs.get('rule_apply_type')
    if kwargs.get('rule_name'):
        return cls.objects(org_id=org_id, rule_apply_type=rule_apply_type,
            rule_name=kwargs.get('rule_name'), status__nin=[cls.get_dict_id
            ('recharge_status', '删除')]).all()
    if kwargs.get('recharge_condition') and kwargs.get('giving_count'):
        return cls.objects(org_id=org_id, rule_apply_type=rule_apply_type,
            recharge_condition=kwargs.get('recharge_condition'),
            giving_count=kwargs.get('giving_count'), status__nin=[cls.
            get_dict_id('recharge_status', '删除')]).all()
