陶杰
2024-12-21 2630f6e2d847435930539f3fb2aaabcab922c3d9
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;