diff --git a/src/main/java/com/chint/infrastructure/repository/SupplierRepositoryImpl.java b/src/main/java/com/chint/infrastructure/repository/SupplierRepositoryImpl.java index d4ad2887..9eebaf64 100644 --- a/src/main/java/com/chint/infrastructure/repository/SupplierRepositoryImpl.java +++ b/src/main/java/com/chint/infrastructure/repository/SupplierRepositoryImpl.java @@ -25,7 +25,7 @@ public class SupplierRepositoryImpl implements SupplierRepository { return jdbcSupplierRepository.findById(id); } -// @Cacheable(value = "supplier", key = "#supplierName") + @Cacheable(value = "supplier", key = "#supplierName") @Override public Optional findBySupplierName(String supplierName) { return jdbcSupplierRepository.findByName(supplierName);