From c46fdccb98f99fd0d644e0d4a3d38da74c941d2e Mon Sep 17 00:00:00 2001 From: geek Date: Thu, 21 Jun 2018 19:32:12 +0900 Subject: [PATCH] target remove page --- .../overflow/service/central/target/TargetService.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java index 588d714..a0d8763 100644 --- a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java +++ b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java @@ -4,9 +4,7 @@ import java.util.List; import com.loafle.overflow.core.annotation.WebappAPI; import com.loafle.overflow.core.exception.OverflowException; -import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.model.target.Target; -import org.springframework.data.domain.Page; /** * Created by insanity on 17. 6. 28. @@ -28,13 +26,13 @@ public interface TargetService { Target modify(Target target) throws OverflowException; @WebappAPI - Page readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException; + List readAllByProbeID(Long probeID) throws OverflowException; @WebappAPI List readAllTargetByProbeID(Long probeID) throws OverflowException; Target increaseSensorCount(Long id) throws OverflowException; - + Target decreaseSensorCount(Long id) throws OverflowException; }