From 714eb5d145db0200d02fd6ce1b360b013eeaa985 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Wed, 17 May 2023 10:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E9=A1=B5=E9=9D=A2=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=9B=BE=E8=A1=A8=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/dataset/service/impl/DataSetServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dataset/service/impl/DataSetServiceImpl.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dataset/service/impl/DataSetServiceImpl.java index fa0d06be..b5ca265f 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dataset/service/impl/DataSetServiceImpl.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dataset/service/impl/DataSetServiceImpl.java @@ -225,7 +225,7 @@ public class DataSetServiceImpl implements DataSetService { OriginalDataDto originalDataDto = new OriginalDataDto(); String setCode = dto.getSetCode(); if (StringUtils.isBlank(setCode)) { - throw BusinessExceptionBuilder.build("未选择数据集"); + return new OriginalDataDto(new ArrayList<>()); } //1.获取数据集、参数替换、数据转换 DataSetDto dataSetDto = detailSet(setCode);