diff options
author | Keguang He <hekeguang@chinamobile.com> | 2022-11-01 02:12:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-11-01 02:12:59 +0000 |
commit | 8c1785c9cc42116e19ea06e0c044bbfdf37e217c (patch) | |
tree | 04b3e42358fd4c537ec1e2e271cfcf53e7d1816d /intentanalysis | |
parent | 5a165b63cbeaadd65adb60acde4dc4a022cda3fa (diff) | |
parent | 122a35f6445f71d67efe71ec53c13a69be714a1f (diff) |
Merge "Fix bugs of updating context"
Diffstat (limited to 'intentanalysis')
-rw-r--r-- | intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java index 9623917..bfe5ca2 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/service/impl/ContextServiceImpl.java @@ -123,6 +123,7 @@ public class ContextServiceImpl implements ContextService { } for (Context context : contextList) { if (contextIdListFromDB.contains(context.getContextId())) { + conditionService.updateConditionList(context.getContextConditions(), context.getContextId()); if (contextMapper.updateContext(context) < 1) { String msg = "Failed to update context list to database."; log.error(msg); |