fix:收藏文件修改

This commit is contained in:
s2042968 2025-04-24 16:37:01 +08:00
parent 94a8c8ec43
commit 71b8297312
1 changed files with 0 additions and 1 deletions

View File

@ -1377,7 +1377,6 @@ public class EdFileInfoServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileI
} }
// 恢复失效的收藏记录 // 恢复失效的收藏记录
existingFavorite.setEffectFlag(EffectFlagEnum.EFFECT.code); existingFavorite.setEffectFlag(EffectFlagEnum.EFFECT.code);
existingFavorite.newInit(); // 重置更新时间等信息
result = fileFavoriteService.updateById(existingFavorite); result = fileFavoriteService.updateById(existingFavorite);
} else { } else {
// 插入收藏记录 // 插入收藏记录