From 194f62d949cbed7f3f211347dafb623d1c4e1941 Mon Sep 17 00:00:00 2001 From: insanity Date: Wed, 30 May 2018 12:36:25 +0900 Subject: [PATCH] method name change --- .../central/module/meta/dao/MetaSensorDisplayMappingDAO.java | 2 +- .../meta/service/CentralMetaSensorDisplayMappingService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/central/module/meta/dao/MetaSensorDisplayMappingDAO.java b/src/main/java/com/loafle/overflow/central/module/meta/dao/MetaSensorDisplayMappingDAO.java index 42f202b..66db4c7 100644 --- a/src/main/java/com/loafle/overflow/central/module/meta/dao/MetaSensorDisplayMappingDAO.java +++ b/src/main/java/com/loafle/overflow/central/module/meta/dao/MetaSensorDisplayMappingDAO.java @@ -16,5 +16,5 @@ import java.util.List; @Repository public interface MetaSensorDisplayMappingDAO extends JpaRepository { @Query("SELECT m.itemKey from MetaSensorDisplayMapping m where m.displayItem = (:displayItem)") - public List findAllByDisplayItem(@Param("displayItem") MetaSensorDisplayItem displayItem); + public List findAllMetaSensorItemKeyByDisplayItem(@Param("displayItem") MetaSensorDisplayItem displayItem); } diff --git a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaSensorDisplayMappingService.java b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaSensorDisplayMappingService.java index d2980db..c700e1c 100644 --- a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaSensorDisplayMappingService.java +++ b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaSensorDisplayMappingService.java @@ -23,7 +23,7 @@ public class CentralMetaSensorDisplayMappingService implements MetaSensorDisplay return this.mappingDAO.save(m); } - public List findAllByDisplayItem(MetaSensorDisplayItem displayItem) throws OverflowException { - return this.mappingDAO.findAllByDisplayItem(displayItem); + public List readAllMetaSensorItemKeyByDisplayItem(MetaSensorDisplayItem displayItem) throws OverflowException { + return this.mappingDAO.findAllMetaSensorItemKeyByDisplayItem(displayItem); } }