Fix Bug #574: fallback修复
This commit is contained in:
@@ -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. (可选)如果还有其他业务,如发送通知等,可在此继续处理
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user