From d85a09ef11a92ea508e626d33fd8498350da3eac Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 30 Sep 2019 15:42:53 +0800 Subject: [PATCH] 2.2.0 --- .../java/com/gitee/sop/adminserver/api/service/RouteApi.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/api/service/RouteApi.java b/sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/api/service/RouteApi.java index 6ed6ce59..e155f6d0 100644 --- a/sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/api/service/RouteApi.java +++ b/sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/api/service/RouteApi.java @@ -75,6 +75,10 @@ public class RouteApi { .map(RouteVO::getId) .collect(Collectors.toList()); + if (routeIdList.isEmpty()) { + return datagrid; + } + Map routeIdStatusMap = configRouteBaseMapper .list(new Query().in("route_id", routeIdList)) .stream()