huliguo
4 天以前 6acf6357094588946b5528f1ef1ed84a0f1037fd
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());