fix(transfer): settle linked relabel fees after final receipt
This commit is contained in:
+2
-2
@@ -1283,8 +1283,8 @@ public class WarehouseTransferService {
|
||||
RelabelApplication linked = relabelApplications.lockNo(customerId, transfer.getRelabelNo());
|
||||
if (linked == null || !Objects.equals(linked.getId(), transfer.getRelabelApplicationId()))
|
||||
throw conflict("本票换标完成归属不一致");
|
||||
linked.setStatus("COMPLETED"); linked.setFulfillmentStatus("COMPLETED");
|
||||
linked.setUpdatedAt(now); relabelApplications.updateById(linked);
|
||||
relabelService.completeWarehouseTransferFulfillment(customerId, transfer.getRelabelNo(),
|
||||
transfer.getId(), operatorId);
|
||||
}
|
||||
return detail(customerId, transferNo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user