From 0aa95f21a5904e0e1cf387cf97c870c37f37b3b4 Mon Sep 17 00:00:00 2001 From: XMnhwj_BackTechnologyDevelopment <3512363680@qq.com> Date: Wed, 24 May 2023 14:54:42 +0800 Subject: [PATCH] =?UTF-8?q?2023-05-24=2012:14:36=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=83=BD=E6=BA=90=E7=9B=91=E6=B5=8B=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A5=E5=8F=A3!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psdc-web/src/main/java/com/psdc/controller/index/Index.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psdc-web/src/main/java/com/psdc/controller/index/Index.java b/psdc-web/src/main/java/com/psdc/controller/index/Index.java index 0f4dee0..f65392d 100644 --- a/psdc-web/src/main/java/com/psdc/controller/index/Index.java +++ b/psdc-web/src/main/java/com/psdc/controller/index/Index.java @@ -30,7 +30,7 @@ public class Index { public AjaxResult selzdb(@PathVariable(value = "modelId", required = false) Integer modelId) { // 查询总电表日常用电信息 if (null == psdcThermometerHtdataService.selTotalElectricityInfo(modelId)){ - return AjaxResult.success("今日暂无数据!"); + return AjaxResult.success("今日暂无数据!").put("data", null); } return AjaxResult.success(psdcThermometerHtdataService.selTotalElectricityInfo(modelId)); }