From 1c3807403d78626b4b9ab8e0e332b90907abed28 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Sun, 25 Nov 2018 12:39:04 +0800 Subject: modify getServiceInstanceIdByParentId function Change-Id: Ifab74375ec63d34d7063ec608e63d4e33272a1c7 Issue-ID: USECASEUI-170 Signed-off-by: guochuyicmri --- .../usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java index fa9cf6aa..f8243e5d 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java @@ -218,7 +218,7 @@ public class DefaultServiceLcmService implements ServiceLcmService { String string = "from ServiceBean where 1=1 and parentServiceInstanceId=:parentServiceInstanceId"; Query q = session.createQuery(string); - q.setString("serviceInstanceId",parentServiceInstanceId); + q.setString("parentServiceInstanceId",parentServiceInstanceId); list = q.list(); session.flush(); }catch (Exception e){ -- cgit 1.2.3-korg