huliguo
2025-06-06 88adbada822c2e3d18235374c176c1b9201358cb
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/impl/GoodsEvaluateServiceImpl.java
@@ -69,8 +69,9 @@
                throw new RuntimeException("修改订单状态失败");
            }
        } else {
            GoodsEvaluate byId = getById(goodsEvaluate.getId());
            //修改
            if (goodsEvaluate.getStatus()!=2){
            if (byId.getStatus()!=2){
                return R.fail("修改失败,评论已被下架");
            }
            goodsEvaluate.setUpdateTime(LocalDateTime.now());