summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml
diff options
context:
space:
mode:
authorzhuguanyu <zhuguanyu5@huawei.com>2022-09-01 20:15:30 +0800
committerzhuguanyu <zhuguanyu5@huawei.com>2022-09-06 10:34:47 +0800
commita822724a4928b19aba349776ac17bdc5c72e8696 (patch)
treeb7a2d89b9562dc71e6e2f9af6ca8b3235700ead9 /intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml
parent7a41339ea8a18aa7a93d73c509a74af1ef13f0a7 (diff)
Add UT to uui services
Issue-ID: USECASEUI-716 Signed-off-by: zhuguanyu <zhuguanyu5@huawei.com> Change-Id: I5650e9f859cf80d5ac04062fac851a092184f3e0
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml
index ff04551..6eb44e3 100644
--- a/intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml
+++ b/intentanalysis/src/main/resources/mybatis/sql/ContextMapper.xml
@@ -40,10 +40,14 @@
</update>
<delete id="deleteContext">
- DELETE FROM context WHERE context_id = #{context.contextId}
+ DELETE
+ FROM context
+ WHERE context_id = #{contextId}
</delete>
<delete id="deleteContextList">
- DELETE FROM context WHERE parent_id = #{parentId}
+ DELETE
+ FROM context
+ WHERE parent_id = #{parentId}
</delete>
</mapper>