移动系统liao
2024-12-10 33d8a055940ff66bec57ab857ed8ae2638e8b6b1
cylsg/cylsg.Application/Transfer/UserTransfer.cs
@@ -358,7 +358,7 @@
            {
                throw Oops.Oh("已经处理不再处理");
            }
           if(!(TOrder.ErrorCode== "INVALID_REQUEST"&&TOrder.ErrorMsg== "对应单号已超出重试期,请查单确认后决定是否换单请求"))
           if(!((TOrder.ErrorCode== "INVALID_REQUEST"&&TOrder.ErrorMsg== "对应单号已超出重试期,请查单确认后决定是否换单请求")|| (TOrder.ErrorCode == "NOTENOUGH" )))
            {
                //不满足冲洗支付要求
                throw Oops.Oh("不满足重新支付要求");
@@ -366,7 +366,15 @@
                   
            var rs = new BaseRepository<UserWorker>();
            var userid = TOrder.UserID;
            var Money =  (TOrder.FailAmount??0)/100m;
            decimal Money = 0;
            if (TOrder.FailAmount==null&&TOrder.BatchId==null)
            {
                //这个是没有创建提交单 按原价重新支付
                Money = (TOrder.TotalAmount??0)/100m;
            }
            else
             Money =  (TOrder.FailAmount??0)/100m;
            if(Money<0.03m)
            {
                throw Oops.Oh("失败金额不足0.3元不能再次发起支付");