Browse Source

项目详情-推广码 会看到同平台下所有推广码bug修复2

lifa 1 year ago
parent
commit
f2d89b7108
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/platform/ZhonTai.Admin/Services/DiTuiAPI/ProjectsService.cs

+ 1 - 1
src/platform/ZhonTai.Admin/Services/DiTuiAPI/ProjectsService.cs

@@ -404,7 +404,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
                     .WhereIf(SalesmanPhone.NotNull(), a => a.Phone.Contains(SalesmanPhone))
                     //.WhereIf(kuaKeStatus.NotNull(), a => a.Status.ToString().Contains(kuaKeStatus))
                     .Where(where)
-                    .Where(a => a.TenantId == User.TenantId)
+                    .Where(a => a.TenantId == User.TenantId && a.CreatedUserId == User.Id)
                     .OrderByDescending(a => a.CreatedTime)
                 .Count(out total)
                 .Page(input.CurrentPage, input.PageSize)