1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

删除书籍前取消书籍与文件的关联

This commit is contained in:
2022-04-20 00:02:31 +08:00
parent 493d9f970a
commit e493458406
8 changed files with 46 additions and 9 deletions

View File

@@ -74,6 +74,13 @@ public interface FileDOMapper {
*/
FileDO[] selectAvailableByBookId(Integer bookId);
/**
* 取消文件和书籍的关联
*
* @return
*/
int unbindBook(Integer bookId);
/**
* 获取上一次插入的主键Id
*