Fix front project draft service safeguards

This commit is contained in:
王鹏
2026-05-22 09:26:58 +08:00
parent 98cd4f7df0
commit ebb529213a
5 changed files with 51 additions and 6 deletions

View File

@@ -92,4 +92,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<delete id="deleteFrontProjectGenerationById" parameterType="Long">
delete from front_project_generation where generation_id = #{generationId}
</delete>
<delete id="deleteGenerationsByProjectId" parameterType="Long">
delete from front_project_generation where project_id = #{projectId}
</delete>
</mapper>