package com.dbnt.kcscbackend.commonCode.repository;

import com.dbnt.kcscbackend.commonCode.entity.TcCodeItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TcCodeItemRepository extends JpaRepository<TcCodeItem, TcCodeItem.TcCodeItemId> {
  List<TcCodeItem> findByGrpCdAndUseYnOrderByGrpOrder(String grpCd, String useYn);
  TcCodeItem findByItemCdAndUseYn(String itemCd, String useYn);
}
