summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-25 12:39:04 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-25 12:39:13 +0800
commit1c3807403d78626b4b9ab8e0e332b90907abed28 (patch)
tree14e94d945e6cfdd17eaf99c5ae02b04e698e9d0d
parentc826c096388b56a50e1ed81a4a14bbce959e9bc9 (diff)
modify getServiceInstanceIdByParentId function
Change-Id: Ifab74375ec63d34d7063ec608e63d4e33272a1c7 Issue-ID: USECASEUI-170 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceLcmService.java2
1 files changed, 1 insertions, 1 deletions
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){