Commit 80d7907e510976545e0c064b2de336dd7d7f023e
1 parent
86ee17ba
2022年7月26日10:10:21 给前端返回文件主键id
Showing
2 changed files
with
2 additions
and
1 deletions
fw-dalaran-domain/src/main/java/cn/fw/dalaran/domain/db/ThemeFile.java
fw-dalaran-service/src/main/java/cn/fw/dalaran/service/data/impl/ActivityThemeServiceImpl.java
... | ... | @@ -196,7 +196,7 @@ public class ActivityThemeServiceImpl extends ServiceImpl<ActivityThemeDao, Acti |
196 | 196 | List<FileDesc> fileList = params.getCovers() |
197 | 197 | .stream() |
198 | 198 | .filter(item -> Objects.isNull(item.getId())) |
199 | - .peek(item->item.setType(FileTypeEnum.THEME_COVER.getValue())) | |
199 | + .peek(item -> item.setType(FileTypeEnum.THEME_COVER.getValue())) | |
200 | 200 | .collect(Collectors.toList()); |
201 | 201 | this.saveFiles(themeId, fileList); |
202 | 202 | this.downloadAndConvertCover(this.getById(themeId), fileList); | ... | ... |