package com.huigou.topsun.base.coderule.repository;

import com.huigou.topsun.base.coderule.domain.model.CodeRule;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Repository
 * 
 * @author
 * @date 2018-06-20 15:20
 */
public interface CodeRuleRepository extends JpaRepository<CodeRule, String> {
    List<CodeRule> findByOrgIdAndRuleKind(String orgId, String ruleKind);
}
