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; }