demand: TMS系统 - 运输管理 - 漏组批次订单实时扫描/定时扫描/根据线路扫描-过滤运单发货日期在规则有效期外的运单
committer: heyu
This commit is contained in:
parent
08f1f2e0c8
commit
478a4b5bd2
@ -5428,6 +5428,9 @@ public class EmisBaseService {
|
||||
String supplierNames = group.stream().map(EmisTransPlanRule::getSupplierName)
|
||||
.filter(Objects::nonNull).distinct().collect(Collectors.joining(","));
|
||||
EmisTransPlanRule first = group.get(0);
|
||||
if (first.getEndDate().before(waybill.getSendDate()) || first.getStartDate().after(waybill.getSendDate())) {
|
||||
continue;
|
||||
}
|
||||
String missReason = String.format("%s-%s-%s", first.getStartSiteName(),
|
||||
first.getNextSiteName(), supplierNames);
|
||||
EmisTmsSiteBatchMiss miss = createMissRecord(waybill);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user