Fix Bug #574: fallback修复

This commit is contained in:
2026-05-27 00:40:24 +08:00
parent e9dbc59953
commit b460e1dad2
2 changed files with 26 additions and 11 deletions

View File

@@ -53,10 +53,6 @@ public class RegistrationServiceImpl implements RegistrationService {
throw new RuntimeException("号源状态更新为已取号失败orderId=" + orderId);
}
// 3. 实时累加预约池的已预约人数,修复 Bug #575
int bookedNumUpdated = registrationMapper.incrementBookedNumByOrderId(orderId);
if (bookedNumUpdated == 0) {
throw new RuntimeException("预约池已预约人数累加失败orderId=" + orderId);
}
// 3. (可选)如果还有其他业务,如发送通知等,可在此继续处理
}
}