diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-05-30 16:57:39 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-05-30 16:58:32 +0800 |
commit | 09cd2f9f50b3ecde778e7d5ba4e243bbad74eef2 (patch) | |
tree | 14aed23ccf4393e749c0db1457ecb3ac576275aa /intentanalysis/src/main/resources | |
parent | f89877a479fd7c4ca1257f4137bd1132bbf0e631 (diff) |
Add the delete objectInstance method
Issue-ID: USECASEUI-812
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Change-Id: I6e200975c8265ec193babb47323eb932bf1600f1
Diffstat (limited to 'intentanalysis/src/main/resources')
-rw-r--r-- | intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml b/intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml index 8cf9b3c..63047ce 100644 --- a/intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml +++ b/intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml @@ -13,6 +13,11 @@ </insert> <select id="getObjectInstances" resultType="java.lang.String"> - select object_instance from object_instance where parent_id = #{parentId} + select object_instance from object_instance where parent_id = #{parentId} </select> + + <delete id="deleteObjectInstances"> + delete from object_instance where parent_id = #{parentId} + </delete> + </mapper> |