diff options
author | zhangfan345 <zhangfan345@huawei.com> | 2022-11-01 09:55:29 +0800 |
---|---|---|
committer | Keguang He <hekeguang@chinamobile.com> | 2022-11-01 02:21:49 +0000 |
commit | 2c2d06ae36cee890417abd0df2f8df189e8e0d47 (patch) | |
tree | 2e6b5cc2f8f5c13a9c4a9d3fd848445c92f32e42 | |
parent | 9699468e0f4c6d9f5bddd3b3726e06bdb225815c (diff) |
Fix bugs of updating context
Issue-ID: USECASEUI-749
Signed-off-by: zhangfan345 <zhangfan345@huawei.com>
Change-Id: I220eabf9ab12d78973918552514d5ae944e9461c
(cherry picked from commit 122a35f6445f71d67efe71ec53c13a69be714a1f)
-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); |