package com.huigou.uasp.meta.repository;

import com.huigou.uasp.bmp.configuration.domain.model.SysDictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface QueryCodeBuildRuleRepository extends JpaRepository<SysDictionary, String> {
    @Query(value = "select t from SysDictionary t where t.code=?1")
    SysDictionary findByCode(String code);
}
