提交 707f960c authored 作者: zjm's avatar zjm

fix(库房模块): 添加库房的排序

添加库房的排序
上级 600b5538
...@@ -29,7 +29,7 @@ public class UnitStoreLocationServiceImpl implements UnitStoreLocationService { ...@@ -29,7 +29,7 @@ public class UnitStoreLocationServiceImpl implements UnitStoreLocationService {
@Override @Override
public List<UnitStoreLocation> findAllByUnitIdAndTypeName(UnitStoreLocationVo unitStoreLocationVo) { public List<UnitStoreLocation> findAllByUnitIdAndTypeName(UnitStoreLocationVo unitStoreLocationVo) {
return unitStoreLocationDao.findAllByUnitIdAndTypeName(unitStoreLocationVo.getUnitId(),unitStoreLocationVo.getTypeName()); return unitStoreLocationDao.findAllByUnitIdAndTypeName(unitStoreLocationVo.getUnitId(),unitStoreLocationVo.getTypeName()).stream().sorted(Comparator.comparing(UnitStoreLocation::getShowOrder)).collect(Collectors.toList());
} }
@Override @Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论