|
@@ -320,7 +320,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)
|
|
|
+ .Where(a=> a.IsUse == 1 && a.TenantId == User.TenantId)
|
|
|
.OrderByDescending(a => a.UseTime)
|
|
|
.Count(out var total)
|
|
|
.Page(input.CurrentPage, input.PageSize)
|