Explorar o código

盟主编码搜索

DuGuYang %!s(int64=4) %!d(string=hai) anos
pai
achega
1eef0df2d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))