|
@@ -58,7 +58,7 @@ public class TVoyageServiceImpl implements ITVoyageService
|
|
|
public List<TVoyage> freightList(TVoyage tVoyage) {
|
|
|
List<TVoyage> tVoyages = new ArrayList<>();
|
|
|
tVoyages = tVoyageMapper.selectTVoyageListNew(tVoyage);
|
|
|
- tVoyages = tVoyages.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(TVoyage -> TVoyage.getfPortofloadid() + ";"+ TVoyage.getfDistinationid()))), ArrayList::new));
|
|
|
+ tVoyages = tVoyages.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(TVoyage -> TVoyage.getfPortofloadid() + ";"+ TVoyage.getfDistinationid()+ ";"+ TVoyage.getfPortoftransshipment()))), ArrayList::new));
|
|
|
if (CollectionUtils.isNotEmpty(tVoyages)){
|
|
|
for (TVoyage voyage : tVoyages) {
|
|
|
voyage.setTwenty(tCtnpriceItemsMapper.selectMoney(voyage.getfPortofloadid(), voyage.getfDistinationid(), "20GP"));
|