From 2ff9e22aa01202003c8ba2b3d7c91226e61de1f8 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期四, 09 四月 2026 09:03:07 +0800
Subject: [PATCH] no message
---
cylsg/cylsg.Application/Transfer/UserTransfer.cs | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/cylsg/cylsg.Application/Transfer/UserTransfer.cs b/cylsg/cylsg.Application/Transfer/UserTransfer.cs
index d50535a..d23f512 100644
--- a/cylsg/cylsg.Application/Transfer/UserTransfer.cs
+++ b/cylsg/cylsg.Application/Transfer/UserTransfer.cs
@@ -94,16 +94,16 @@
bool IsGuDing = false;
var bdct = new BaseRepository<OrderBidding>();
- if (bdct == null)
+ if (bdct != null)
{
- var userBd= await bdct.GetFirstAsync(x=>x.WorkerUserId==userid);
+ var userBd= await bdct.GetFirstAsync(x=>x.WorkerUserId==userid&&x.IsGuding==true);
if(userBd != null)
{
- IsGuDing = userBd.IsGuding??false;
+ IsGuDing = true;
}
}
-
- if ((uw.TiXianZonge - uw.YiTiXianJine-(IsGuDing?300:0)) < Money)
+
+ if (((uw.TiXianZonge??0) - (uw.YiTiXianJine??0)-(IsGuDing?300:0)) < Money)
{
if(IsGuDing)
{
@@ -598,6 +598,7 @@
[ApiExplorerSettings(IgnoreApi = true)]
public async Task<WeChatTransferOrder> CreateTransferOder(CreatTransferOderIN Param)
{
+
if(Param.Key!= DateTime.Now.ToString("yyyy-MM-dd:HH")+"CreatTransfer")
{
//key 閿欒
--
Gitblit v1.9.1