陶杰
2024-10-10 c3910a68f8c6a71c9e2dd73f6cdc9df2d89637e9
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;