Commit abbaa71e by levphon

组织树查询bug修复-节点下面没有用户时导致全量数据返回

1 parent b81d487a
......@@ -146,11 +146,13 @@ public class VehicleMonitorSevice {
List<Long> userIdList = Lists.newArrayList();
userIdSet.forEach(uid -> {
userIdList.add(Long.valueOf(uid.replace("u", "")));
});
userIdSet.forEach(uid -> userIdList.add(Long.valueOf(uid.replace("u", ""))));
sw.stop();
if (CollectionUtils.isEmpty(userIdList)) {
return Lists.newArrayList();
}
sw.start("task2");
VehicleTreeSearch vtSearch = new VehicleTreeSearch();
vtSearch.setUserIds(userIdList);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!