xuhy
2025-08-25 0993c86bcef3bc33643efbf6efa3ef380af09da9
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());