From cb009050ce19125eff5047a4fa2688f112ca2b3d Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Thu, 6 Jun 2024 17:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E7=9B=91=E6=8E=A7=E6=8C=87=E6=A0=87=E5=89=8D=E5=A4=A9?= =?UTF-8?q?=E6=98=A8=E5=A4=A9=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zc/business/controller/DcMetricsController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zc-business/src/main/java/com/zc/business/controller/DcMetricsController.java b/zc-business/src/main/java/com/zc/business/controller/DcMetricsController.java index 9185c987..bbc75610 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcMetricsController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcMetricsController.java @@ -148,7 +148,7 @@ public class DcMetricsController { // 如果昨天或前天的数据为空,则返回错误信息 if (yesterdayData == null || beforeYesterdayData == null) { - return AjaxResult.error("暂无数据"); + return AjaxResult.success(null); } // 将数据放入列表并返回