BUGFIX:系统模特上传;

This commit is contained in:
shahaibo
2023-10-04 15:37:20 +08:00
parent 0893af46dd
commit 3620a0a895

View File

@@ -205,7 +205,9 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
sysFile.setMd5(uploadDTO.getMd5());
sysFile.setCreateDate(new Date());
sysFileMapper.insert(sysFile);
return null;
Library library = new Library();
library.setName("成功");
return library;
}else {
throw new BusinessException("unknown model type");
}