Commit b5b46bf2 authored by zhengyi's avatar zhengyi

自编号提单编辑列表重新排序

parent a6a2251e
......@@ -905,6 +905,10 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
// .map(BoxPreloadGoodsBackVO::getWeight)
// .reduce(BigDecimal.ZERO, BigDecimal::add);
}
if (CollectionUtil.isNotEmpty(list) && list.size() > 0){
// 重新排序
list = list.stream().sorted(Comparator.comparing(MakeBillOfLadingListBackVO::getTidanNo)).collect(Collectors.toList());
}
map.put("totalNum", totalNum);
map.put("totalVolume", totalVolume);
map.put("totalWeight", totalWeight);
......
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