Codex Assistant
2025-10-08 c8dffd157cd8b62023b26e62a0b92c152d959423
backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java
@@ -31,4 +31,9 @@
     * 检查ID是否存在
     */
    boolean existsById(Long id);
    /**
     * 根据目标类型和目标ID删除媒体记录
     */
    void deleteByTargetTypeAndTargetId(Integer targetType, Long targetId);
}