免费赛事
This commit is contained in:
parent
cc7290e8ed
commit
7d8d1c2426
@ -141,6 +141,13 @@ public class UnifiedRegistrationService : ITransient
|
||||
registration.TotalPersonCount = totalPersonCount;
|
||||
await _registrationRepository.UpdateAsync(registration);
|
||||
|
||||
// 5. 如果是免费赛事,直接完成支付
|
||||
if (totalAmount <= 0)
|
||||
{
|
||||
_logger.LogInformation("免费赛事,直接完成支付,报名ID: {RegistrationId}", registration.Id);
|
||||
await HandleFreePaymentAsync(registration, null, input.CreatedUserId);
|
||||
}
|
||||
|
||||
_logger.LogInformation("统一报名处理完成,报名ID: {RegistrationId}", registration.Id);
|
||||
|
||||
return new UnifiedRegistrationOutput
|
||||
|
||||
@ -9059,7 +9059,7 @@
|
||||
验证用户单位认证状态
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:YD_Event.Application.Event.UnifiedRegistrationService.CalculateRefundAmountAsync(System.Decimal,System.DateTime)">
|
||||
<member name="M:YD_Event.Application.Event.UnifiedRegistrationService.RoundUpToTwoDecimalPlaces(System.Decimal)">
|
||||
<summary>
|
||||
计算退款金额(统一方法)
|
||||
</summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user