From 8ca71983e1c04e1d1b4bfbc0a2bc1fd7026de89a Mon Sep 17 00:00:00 2001 From: taojinlong Date: Tue, 4 Jan 2022 11:14:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=95=B0=E6=8D=AE=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/service/authModel/VAuthModelService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/io/dataease/service/authModel/VAuthModelService.java b/backend/src/main/java/io/dataease/service/authModel/VAuthModelService.java index 2a085f3c79..7bb93527ac 100644 --- a/backend/src/main/java/io/dataease/service/authModel/VAuthModelService.java +++ b/backend/src/main/java/io/dataease/service/authModel/VAuthModelService.java @@ -26,6 +26,10 @@ public class VAuthModelService { public List queryAuthModel(VAuthModelRequest request) { request.setUserId(String.valueOf(AuthUtils.getUser().getUserId())); + // 定时任务选数据集时,列表需去除空目录 + if (request.isClearEmptyDir()) { + request.setMode(null); + } List result = extVAuthModelMapper.queryAuthModel(request); // 定时任务选数据集时,列表需去除空目录 if (request.isClearEmptyDir()) {