Commit 76d97cb5 authored by chenzhao's avatar chenzhao

修改代码

parent d51891c1
......@@ -146,8 +146,8 @@ public class RouteController extends AbstractBaseController {
String orgCode =reginParams.getPersonIdentity().getCompanyBizOrgCode();
//2.查询
List<Route> routeList = routeService.queryRouteListNew(orgCode);
routeList.stream().filter(e->e.getIsExist().equals("true"));
return CommonResponseUtil.success(routeList);
List<Route> list = routeList.stream().filter(e -> e.getIsExist().equals("true")).collect(Collectors.toList());
return CommonResponseUtil.success(list);
} catch (Exception e) {
log.error(e.getMessage(), e);
return CommonResponseUtil.failure("查询巡检路线信息失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment