diff --git a/firstleg/src/main/java/com/baiyue/firstleg/customs/container/service/ContainerCustomsService.java b/firstleg/src/main/java/com/baiyue/firstleg/customs/container/service/ContainerCustomsService.java index 6a208ec24..e2fd3f213 100644 --- a/firstleg/src/main/java/com/baiyue/firstleg/customs/container/service/ContainerCustomsService.java +++ b/firstleg/src/main/java/com/baiyue/firstleg/customs/container/service/ContainerCustomsService.java @@ -232,7 +232,7 @@ public class ContainerCustomsService { public ContainerView confirmReceipt(long tenantId, long documentId, long operatorId, String operatorName, String key, int expectedVersion, boolean confirm, String reason) { String action = (confirm ? "CONFIRM_CUSTOMS_RECEIPT_" : "REJECT_CUSTOMS_RECEIPT_") + documentId; - String requestHash = hash(action, confirm, reason); + String requestHash = hash(action, expectedVersion, confirm, reason); CommandRow replay = claim(operatorId, action, key, requestHash); if (replay != null) { DocumentRow source = requiredDocument(documentId);