Parcourir la source

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

lifa il y a 2 ans
Parent
commit
b5c4b0693d

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

@@ -352,7 +352,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
                     .WhereIf(ProjectId.HasValue && ProjectId.Value > 0, a => a.ProjectId == ProjectId)
                     .WhereIf(Salesman.NotNull(), a => a.Salesman.Contains(Salesman))
                     .WhereIf(SalesmanPhone.NotNull(), a => a.SalesmanPhone.Contains(SalesmanPhone))
-                    .Where(a => a.IsUse == 1 && a.TenantId == User.TenantId)
+                    .Where(a => a.IsUse == 1 && a.TenantId == User.TenantId && a.ModifiedUserId == User.Id)
                     .OrderByDescending(a => a.UseTime)
                 .Count(out total)
                 .Page(input.CurrentPage, input.PageSize)