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