package com.eactive.eai.rms.data.entity.onl.code;

import java.util.List;

import javax.persistence.QueryHint;

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

import com.eactive.eai.data.jpa.BaseRepository;

public interface CodeRepository extends BaseRepository<Code, CodeId> {

	@QueryHints({ @QueryHint(name = org.hibernate.annotations.QueryHints.CACHEABLE, value = "true") })
	List<Code> findByIdCodegroupAndUseynOrderBySeq(String codegroup, String useyn);

}
