陶杰
2024-10-10 c3910a68f8c6a71c9e2dd73f6cdc9df2d89637e9
1.评论
已修改1个文件
3 ■■■■ 文件已修改
src/main/java/com/mzl/flower/service/impl/comment/FlowerCommentServiceImpl.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/mzl/flower/service/impl/comment/FlowerCommentServiceImpl.java
@@ -216,7 +216,8 @@
        if (null == flowerCommentDO) {
            throw new ValidationException("评论不存在");
        }
        flowerCommentDO.setReplayBy(dto.getReplayContent());
        flowerCommentDO.setReplayContent(dto.getReplayContent());
        flowerCommentDO.setReplayBy(SecurityUtils.getUserId());
        flowerCommentDO.setReplayTime(LocalDateTime.now());
        flowerCommentDO.setUpdateBy(SecurityUtils.getUserId());
        return baseMapper.updateById(flowerCommentDO)>0;