package com.quantgroup.asset.distribution.service.jpa.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.quantgroup.asset.distribution.service.jpa.entity.AssetDistributeRuleConfig;

/**
 * 资产分发规则配置表
 * @author liwenbin
 *
 */
public interface IAssetDistributeRuleConfigRepository extends JpaRepository<AssetDistributeRuleConfig, Long>{
	
	/**
	 * find所有可用规则
	 * @return
	 */
	public List<AssetDistributeRuleConfig> findByEnableIsTrueOrderByAssetDistributeRulePriorityAsc();
}
