mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
/file/list; /file/object/list 修改为POST提交;完善上传文件部分代码;清理多余import;修正一些代码Bug
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
import plus.bookshelf.Dao.DO.FileDO;
|
||||
import plus.bookshelf.Dao.DO.FileObjectDO;
|
||||
|
||||
@Repository // 添加这个注解,Autowired的时候idea就不会报错了
|
||||
@@ -60,4 +59,12 @@ public interface FileObjectDOMapper {
|
||||
* @return
|
||||
*/
|
||||
FileObjectDO[] selectAll();
|
||||
|
||||
/**
|
||||
* 通过文件路径获取文件
|
||||
*
|
||||
* @param filePath 文件路径
|
||||
* @return
|
||||
*/
|
||||
FileObjectDO selectByFilePath(String filePath);
|
||||
}
|
Reference in New Issue
Block a user