Browse Source

调整根据机具品牌判断押金单位

DuGuYang 3 năm trước cách đây
mục cha
commit
408bab632c

+ 2 - 2
Areas/Admin/Controllers/MainServer/PosMerchantInfoListController.cs

@@ -301,7 +301,7 @@ namespace MySystem.Areas.Admin.Controllers
                     var pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == KqSnNo) ?? new PosMachinesTwo();
                     if (!string.IsNullOrEmpty(pos.SeoKeyword))
                     {
-                        if (pos.BrandId != 2 && pos.BrandId != 7)
+                        if (pos.BrandId != 2 && pos.BrandId != 7 && pos.BrandId != 10 && pos.BrandId != 11)
                         {
                             ReturnAmount += decimal.Parse(pos.SeoKeyword) / 100;
                         }
@@ -379,7 +379,7 @@ namespace MySystem.Areas.Admin.Controllers
                 string SeoKeyword = "0";
                 if (!string.IsNullOrEmpty(pos.SeoKeyword))
                 {
-                    if (pos.BrandId != 2 && pos.BrandId != 7)
+                    if (pos.BrandId != 2 && pos.BrandId != 7 && pos.BrandId != 10 && pos.BrandId != 11)
                     {
                         SeoKeyword = (decimal.Parse(pos.SeoKeyword) / 100).ToString();
                     }