Commit dfa40e14 by wuwenlong

front store list bugfix

parent 23aaf997
......@@ -177,7 +177,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
vo.setDistance(distance + "");
voList.add(vo);
});
return (List<SStoreVo>) voList.stream().sorted(Comparator.comparing(storeVo -> Double.parseDouble(storeVo.getDistance())));
return voList.stream().sorted(Comparator.comparing(storeVo -> Double.parseDouble(storeVo.getDistance()))).collect(Collectors.toList());
}
return voList;
}
......
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