From 20fa1468ee1ca54f7af19fae94da8a70ab29344f Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 22 十月 2024 14:14:22 +0800
Subject: [PATCH] 修改重新发起支付逻辑
---
cylsg/cylsg.Core/DbContext.cs | 1 +
cylsg/cylsg.Application/Transfer/UserTransfer.cs | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/cylsg/cylsg.Application/Transfer/UserTransfer.cs b/cylsg/cylsg.Application/Transfer/UserTransfer.cs
index 137496d..8386663 100644
--- a/cylsg/cylsg.Application/Transfer/UserTransfer.cs
+++ b/cylsg/cylsg.Application/Transfer/UserTransfer.cs
@@ -406,9 +406,9 @@
var UserTiXianDetailwork = new BaseRepository<UserTiXianDetail>();
var WeChatTransferOrderwork = new BaseRepository<WeChatTransferOrder>();
- if ((uw != null) && (((uw.TiXianZonge ?? 0) - (uw.YiTiXianJine ?? 0)) >= Money))
+ if ((uw != null) && Money<= (uw.TiXianZonge ?? 0))
{
- //婊¤冻鏉′欢锛屽彂璧锋敮浠�
+ //婊¤冻鏉′欢锛屽彂璧锋敮浠� 杩欓噷涓嶅垽鏂敮浠橀噾棰濆ぇ楸煎彲鎻愮幇浣欓
var TransferOrder = new WeChatTransferOrder
{
@@ -509,7 +509,7 @@
}
else
{
- throw Oops.Oh("绯荤粺閿欒");
+ throw Oops.Oh("娌℃湁宸ヤ綔璧勬枡鎴栬�呮槸鎻愮幇棰濆害宸茬粡澶т綑鎬婚浜�");
}
}
diff --git a/cylsg/cylsg.Core/DbContext.cs b/cylsg/cylsg.Core/DbContext.cs
index 324ec72..004a656 100644
--- a/cylsg/cylsg.Core/DbContext.cs
+++ b/cylsg/cylsg.Core/DbContext.cs
@@ -18,5 +18,6 @@
, db =>
{
// 杩欓噷閰嶇疆鍏ㄥ眬浜嬩欢锛屾瘮濡傛嫤鎴墽琛� SQL
+ var a = 100;
});
}
--
Gitblit v1.9.1