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

添加文件修改日期字段;前端列表小调整

This commit is contained in:
2022-04-15 23:33:31 +08:00
parent 3b29820f2c
commit 3dac60ced6
10 changed files with 80 additions and 20 deletions

View File

@@ -107,7 +107,7 @@ public class FileObjectServiceImpl implements FileObjectService {
@Transactional
public Boolean uploadFile(Integer fileId, String fileName, String filePath, Long fileSize, String fileSHA1,
String fileExt, String fileNameWithoutExt, FileStorageMediumEnum fileStorageMediumEnum,
String bookOrigin
String bookOrigin, Long lastModified
) throws InvocationTargetException, IllegalAccessException, BusinessException {
if (fileId == 0) {
@@ -153,6 +153,7 @@ public class FileObjectServiceImpl implements FileObjectService {
fileObjectModel.setFilePath(filePath);
fileObjectModel.setFileSha1(fileSHA1);
fileObjectModel.setUploadStatus("UPLOADING");
fileObjectModel.setLastModified(lastModified);
// 其余使用默认设置
fileObjectModel.setFilePwd("");