method name change
This commit is contained in:
parent
b36b80208c
commit
194f62d949
|
@ -16,5 +16,5 @@ import java.util.List;
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaSensorDisplayMappingDAO extends JpaRepository<MetaSensorDisplayMapping, Short> {
|
public interface MetaSensorDisplayMappingDAO extends JpaRepository<MetaSensorDisplayMapping, Short> {
|
||||||
@Query("SELECT m.itemKey from MetaSensorDisplayMapping m where m.displayItem = (:displayItem)")
|
@Query("SELECT m.itemKey from MetaSensorDisplayMapping m where m.displayItem = (:displayItem)")
|
||||||
public List<MetaSensorItemKey> findAllByDisplayItem(@Param("displayItem") MetaSensorDisplayItem displayItem);
|
public List<MetaSensorItemKey> findAllMetaSensorItemKeyByDisplayItem(@Param("displayItem") MetaSensorDisplayItem displayItem);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class CentralMetaSensorDisplayMappingService implements MetaSensorDisplay
|
||||||
return this.mappingDAO.save(m);
|
return this.mappingDAO.save(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<MetaSensorItemKey> findAllByDisplayItem(MetaSensorDisplayItem displayItem) throws OverflowException {
|
public List<MetaSensorItemKey> readAllMetaSensorItemKeyByDisplayItem(MetaSensorDisplayItem displayItem) throws OverflowException {
|
||||||
return this.mappingDAO.findAllByDisplayItem(displayItem);
|
return this.mappingDAO.findAllMetaSensorItemKeyByDisplayItem(displayItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user