This commit is contained in:
tanghc
2019-09-30 15:42:53 +08:00
parent b4b48fc482
commit d85a09ef11

View File

@@ -75,6 +75,10 @@ public class RouteApi {
.map(RouteVO::getId) .map(RouteVO::getId)
.collect(Collectors.toList()); .collect(Collectors.toList());
if (routeIdList.isEmpty()) {
return datagrid;
}
Map<String, Byte> routeIdStatusMap = configRouteBaseMapper Map<String, Byte> routeIdStatusMap = configRouteBaseMapper
.list(new Query().in("route_id", routeIdList)) .list(new Query().in("route_id", routeIdList))
.stream() .stream()