cloudroam
2024-12-09 3566668d97d3844d4d4b95c0058a0f5cb9e5db07
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;