fix:收藏文件修改
This commit is contained in:
parent
94a8c8ec43
commit
71b8297312
|
|
@ -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 {
|
||||||
// 插入收藏记录
|
// 插入收藏记录
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue