BUGFIX: 系列设计 修改模特后,原模特丢失问题

This commit is contained in:
2025-06-30 19:32:16 +08:00
parent 905d296bdf
commit 4273d0efc0
4 changed files with 82 additions and 57 deletions

View File

@@ -9,4 +9,11 @@
WHERE collection_id != 0
GROUP BY collection_id)
</select>
<select id="selectByProject" resultType="com.ai.da.mapper.primary.entity.CollectionElementRelModel">
SELECT cerm.*
FROM t_collection_element ce
LEFT JOIN collection_element_rel_model cerm ON ce.id = cerm.collection_element_id
WHERE ce.project_id = #{projectId} AND ce.level1_type = "Models"
</select>
</mapper>