修改 OEM 结算 快递流水 退款记录也有OEM_Amount 一 一对应 直接计算金额之和
This commit is contained in:
1 parent
8d6c4ebb84
commit
6f54b8a63f
5 files changed
+34
-62
No files matched your search
@@ -82,7 +82,7 @@ public class VirtualLogisticsService : ITransientDependency
|
||||
}
|
||||
var user = _userService.GetUserByUserName(userName);
|
||||
if (user == null) throw new Exception("错误的账号");
|
||||
if (_userService.CanAfford(userName, Contracts.User.Enums.UserPaymentTypes.同步单号, FIXEDFEES) == false)
|
||||
if (_userService.CanAfford(userName, Contracts.User.Enums.UserPaymentTypes.同步物流, FIXEDFEES) == false)
|
||||
{
|
||||
throw new Exception("余额不足");
|
||||
}
|
||||
@@ -181,7 +181,7 @@ public class VirtualLogisticsService : ITransientDependency
|
||||
throw new Exception("记录同步单失败");
|
||||
}
|
||||
//todo 更新UserBlance
|
||||
_userService.UserPayment(user.UserName, orderId, type: Contracts.User.Enums.UserPaymentTypes.同步单号);
|
||||
_userService.UserPayment(user.UserName, orderId, type: Contracts.User.Enums.UserPaymentTypes.同步物流);
|
||||
return yhSyncs;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user