From a61cf44e594b63877b9797fc5250024be5cab632 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 14 四月 2025 09:02:37 +0800 Subject: [PATCH] fix:验重bug修复 --- LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs index 5c80d3f..1bca3f1 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs @@ -265,7 +265,7 @@ { var repeat = await _lifePayExpensesReceiptsRepository.Where(x => x.ExpensesReceiptsType == input.ExpensesReceiptsType && x.OrderNo == input.OrderNo).AnyAsync(); - if (repeat) + if (!repeat) { var data = new LifePayExpensesReceipts() { @@ -463,7 +463,7 @@ } var repeat = await _lifePayChannlesRakeRepository.Where(x => x.OrderNo == item.OrderNo).AnyAsync(); - if (repeat) + if (!repeat) { await _lifePayChannlesRakeRepository.InsertAsync(lifePayChannlesRake); } -- Gitblit v1.9.1