From 5eab798ba98d509b1c5b7980f041a8cec085fee2 Mon Sep 17 00:00:00 2001 From: snoop Date: Wed, 23 Aug 2017 11:05:58 +0900 Subject: [PATCH] fixed method --- .../loafle/overflow/module/infra/service/InfraService.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java b/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java index a3ffe08..2941963 100644 --- a/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java +++ b/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java @@ -47,6 +47,13 @@ public class InfraService { return this.infraDAO.findAllByProbeList(probeList); } + public List readAllTargetByDomain(Domain domain) { + + List probeList = this.probeService.readAllByDomain(domain); + + return this.infraDAO.findAllTargetByProbeList(probeList); + } + public List readAllTargetByProbeList(List probeList) { return this.infraDAO.findAllTargetByProbeList(probeList); // return null;