فهرست منبع

查询机具信息调整服务费显示问题等

DuGuYang 3 سال پیش
والد
کامیت
a9af9d91fc
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      Areas/Admin/Controllers/MainServer/SysToolsController.cs

+ 6 - 1
Areas/Admin/Controllers/MainServer/SysToolsController.cs

@@ -1355,6 +1355,11 @@ namespace MySystem.Areas.Admin.Controllers
             }
             string tradeAmount = pos.CreditTrade.ToString();
             decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
+            var brand = db.KqProducts.FirstOrDefault(m => m.Id == pos.BrandId) ?? new KqProducts();
+            if (brand.Id > 0 && brand.SingleDepositApi == 0 && !string.IsNullOrEmpty(Deposit.ToString()))
+            {
+                Deposit = Deposit / 100;
+            }
             if (pos.BrandId != 2 && pos.BrandId != 7 && pos.BrandId != 10 && pos.BrandId != 11 && pos.BrandId != 12)
             {
                 Deposit = Deposit / 100;
@@ -5352,7 +5357,7 @@ namespace MySystem.Areas.Admin.Controllers
                     result += IsFirst + "\n";
                     result += IsOk + "\n";
                     var BindingTime = pos.BindingTime == null ? "" : pos.BindingTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
-                    var ActivationTime = pos.ActivationTime == null ? "" : pos.BindingTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
+                    var ActivationTime = pos.ActivationTime == null ? "" : pos.ActivationTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
                     result += "开机时间:" + BindingTime + "\n";
                     result += "激活时间:" + ActivationTime + "\n";
                     result += "商户姓名:" + mer.MerRealName + "\n";