Browse Source

盟主编码搜索

DuGuYang 4 years ago
parent
commit
1eef0df2d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Areas/Admin/Controllers/MainServer/PosCouponsController.cs

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

@@ -68,7 +68,7 @@ namespace MySystem.Areas.Admin.Controllers
             //盟主创客编号
             if (!string.IsNullOrEmpty(LeaderIdMakerCode))
             {
-                condition += " and LeaderUserId in (select UserId from UserForRealName where RealName='" + LeaderIdMakerCode + "')";
+                condition += " and LeaderUserId in (select UserId from UserForMakerCode where MakerCode='" + LeaderIdMakerCode + "')";
             }
             //兑换码
             if (!string.IsNullOrEmpty(ExchangeCode))