|
@@ -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)
|