fix: preserve receiving session on duplicate pallet scans

This commit is contained in:
2026-09-15 14:44:10 +08:00
parent 791918c0dc
commit c65389b2c2
4 changed files with 20 additions and 2 deletions
@@ -507,8 +507,8 @@ public class ReceivingContainerService {
accepted += packages;
match.allocation().setPickedPackageCount(packages);
}
markReceiving(session);
}
markReceiving(session);
List<InboundRef> group = matches.stream().map(DropshipPalletRef::ref).distinct().toList();
List<String> inboundCodes = group.stream().map(value -> value.line().getInboundCode()).distinct().sorted().toList();
int total = matches.stream().mapToInt(value -> value(value.allocation().getPlannedPackageCount())).sum();