diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/QualityDeliverServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/QualityDeliverServiceImpl.java index 6a14243c2..e5313a703 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/QualityDeliverServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/QualityDeliverServiceImpl.java @@ -84,10 +84,10 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl> collect = new HashMap<>(); for (QualityDeliverEntity entity : entities) { - if (!collect.containsKey(entity.getSignCarNumber() + entity.getSignTrainNumber())) { - collect.put(entity.getSignCarNumber() + entity.getSignTrainNumber(), CollUtil.newArrayList(entity)); + if (!collect.containsKey(entity.getSignCarNumber() + entity.getPlanTrainNumber())) { + collect.put(entity.getSignCarNumber() + entity.getPlanTrainNumber(), CollUtil.newArrayList(entity)); } else { - collect.get(entity.getSignCarNumber() + entity.getSignTrainNumber()).add(entity); + collect.get(entity.getSignCarNumber() + entity.getPlanTrainNumber()).add(entity); } } @@ -115,7 +115,7 @@ public class QualityDeliverServiceImpl extends BaseServiceImpl