From c8dffd157cd8b62023b26e62a0b92c152d959423 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 08 十月 2025 21:19:28 +0800
Subject: [PATCH] build(backend): switch to thin-jar layout (split libs into target/lib); chore: remove test-* files; misc updates
---
backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java b/backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java
index bb57a74..81dcc2c 100644
--- a/backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java
+++ b/backend/src/main/java/com/rongyichuang/common/repository/MediaRepository.java
@@ -31,4 +31,9 @@
* 妫�鏌D鏄惁瀛樺湪
*/
boolean existsById(Long id);
+
+ /**
+ * 鏍规嵁鐩爣绫诲瀷鍜岀洰鏍嘔D鍒犻櫎濯掍綋璁板綍
+ */
+ void deleteByTargetTypeAndTargetId(Integer targetType, Long targetId);
}
\ No newline at end of file
--
Gitblit v1.8.0