aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
diff options
context:
space:
mode:
authorzhangfan345 <zhangfan345@huawei.com>2022-07-30 10:38:41 +0800
committerFan Zhang <zhangfan345@huawei.com>2022-08-02 06:19:11 +0000
commit731c8ac3faac6b00bc39bdf2e3a0b6a511f94431 (patch)
tree0cf0a8f46018deacbff703d4e1456e8233c8f9ff /intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
parenta51fa2e8573a8463109e7c8b1ed6938c9488fb21 (diff)
Add update function in intent service
Signed-off-by: zhangfan345 <zhangfan345@huawei.com> Issue-ID: USECASEUI-706 Change-Id: I0f027fd8b8876e1b24cbb40ecc50bacc20fa9837
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
index 335ba6d..5e2847b 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/IntentMapper.xml
@@ -21,7 +21,6 @@
<update id="updateIntent" parameterType="org.onap.usecaseui.intentanalysis.bean.models.Intent">
update intent
<trim prefix="set" suffixOverrides=",">
- <if test="intentId != null">intent_id = #{intentId},</if>
<if test="intentName != null">intent_name = #{intentName},</if>
</trim>
where intent_id = #{intentId}