Commit fc3a18f6 authored by liqin's avatar liqin 💬

bug fixed

parent dcdd9670
...@@ -223,10 +223,12 @@ public class CopyrightOwnerController extends BaseController { ...@@ -223,10 +223,12 @@ public class CopyrightOwnerController extends BaseController {
this.copyrightOwnerService.removeById(id); this.copyrightOwnerService.removeById(id);
final LambdaUpdateWrapper<VideoContent> updateWrapper = Wrappers.<VideoContent>lambdaUpdate().eq(VideoContent::getVideoContentCopyrightOwnerId, id); final LambdaUpdateWrapper<VideoContent> updateWrapper = Wrappers.<VideoContent>lambdaUpdate().eq(VideoContent::getVideoContentCopyrightOwnerId, id);
this.videoContentService.remove(updateWrapper); updateWrapper.set(VideoContent::getDeleted, true);
this.videoContentService.update(updateWrapper);
final LambdaUpdateWrapper<ExhibitionBoard> updateWrapper1 = Wrappers.<ExhibitionBoard>lambdaUpdate().eq(ExhibitionBoard::getBoardCopyrightOwnerId, id); final LambdaUpdateWrapper<ExhibitionBoard> updateWrapper1 = Wrappers.<ExhibitionBoard>lambdaUpdate().eq(ExhibitionBoard::getBoardCopyrightOwnerId, id);
this.exhibitionBoardService.remove(updateWrapper1); updateWrapper1.set(ExhibitionBoard::getDeleted, true);
this.exhibitionBoardService.update(updateWrapper1);
return getSuccessResult(); return getSuccessResult();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment