模板删除方法处理

This commit is contained in:
JinLu.Yin
2022-05-18 18:21:35 +08:00
parent a01d2f2b8d
commit 8288d2f136
9 changed files with 62 additions and 0 deletions

View File

@@ -144,4 +144,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{recordId}
</foreach>
</delete>
<delete id="deleteByTemplateId" parameterType="Long">
delete from qc_template_index where template_id = #{templateId}
</delete>
</mapper>

View File

@@ -144,4 +144,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{recordId}
</foreach>
</delete>
<delete id="deleteByTemplateId" parameterType="Long">
delete from qc_template_product where template_id = #{templateId}
</delete>
</mapper>