Browse Source

修改物联系统监控指标前天昨天数据接口获取数据错误返回数据

develop
Mr.Wang 6 months ago
parent
commit
cb009050ce
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcMetricsController.java

2
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);
}
// 将数据放入列表并返回

Loading…
Cancel
Save