Created an api to get look up data by type

This commit is contained in:
harish
2024-08-28 12:33:45 +05:30
parent ffa07d779b
commit 1f87699356
6 changed files with 83 additions and 11 deletions

View File

@@ -4,6 +4,10 @@ import net.gepafin.tendermanagement.entities.LookUpDataEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Optional;
@Repository
public interface LookUpDataRepository extends JpaRepository<LookUpDataEntity,Long> {
List<LookUpDataEntity> findByType(String type);
}