Ver Fonte

修复机具查询流量费显示问题

lichunlei há 4 anos atrás
pai
commit
55061b219c

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

@@ -935,7 +935,7 @@ namespace MySystem.Areas.Admin.Controllers
             }
             }
             string FluxGet6 = "未领取";
             string FluxGet6 = "未领取";
             string FluxUser6 = "";
             string FluxUser6 = "";
-            FluxProfitDetail flux = db.FluxProfitDetail.FirstOrDefault(m => m.SnNo == pos.PosSn && m.BrandId == 6) ?? new FluxProfitDetail();
+            FluxProfitDetail flux = db.FluxProfitDetail.FirstOrDefault(m => m.SnNo == pos.PosSn) ?? new FluxProfitDetail();
             if (flux.Id > 0)
             if (flux.Id > 0)
             {
             {
                 Users user = db.Users.FirstOrDefault(m => m.Id == flux.UserId) ?? new Users();
                 Users user = db.Users.FirstOrDefault(m => m.Id == flux.UserId) ?? new Users();