Explorar o código

修改筛选条件

DuGuYang %!s(int64=4) %!d(string=hai) anos
pai
achega
766a6f931b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Areas/Admin/Controllers/MainServer/UsersController.cs

+ 0 - 1
Areas/Admin/Controllers/MainServer/UsersController.cs

@@ -1516,7 +1516,6 @@ namespace MySystem.Areas.Admin.Controllers
             if (ParentId > 0)
             if (ParentId > 0)
             {
             {
                 condition += " and ParentUserId=" + ParentId + " or Id=" + ParentId;
                 condition += " and ParentUserId=" + ParentId + " or Id=" + ParentId;
-                cons += " and UserId=" + ParentId;
             }
             }
             if (!string.IsNullOrEmpty(CreateDateData))
             if (!string.IsNullOrEmpty(CreateDateData))
             {
             {