aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml
diff options
context:
space:
mode:
Diffstat (limited to 'intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml')
-rw-r--r--intentanalysis/src/main/resources/mybatis/sql/ObjectInstanceMapper.xml7
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>