fix(appointment): keep source inspection in work transaction

This commit is contained in:
2026-10-15 17:34:45 +08:00
parent 42679d4d54
commit 994215d981
3 changed files with 24 additions and 3 deletions
@@ -64,7 +64,7 @@ public class AppointmentWorkDeliveryProvider implements AppointmentWorkFactGatew
else {
for(var source:request.sources()) {
try {
var context=cargo.get(source.sourceKey(),source.customerId(),source.destinationKey());
var context=cargo.inspect(source.sourceKey(),source.customerId(),source.destinationKey());
fingerprints.add(context.toString()); blocks.addAll(context.blockReasons());
} catch(org.springframework.web.server.ResponseStatusException error) {
if(!AppointmentWorkSourceAvailability.unresolved(error)) throw error;