修改了最大导出量为10000
This commit is contained in:
@@ -26,6 +26,7 @@ namespace WMS.Web.Domain.Options
|
||||
/// </summary>
|
||||
public string Url { get; set; }
|
||||
//导出数据一页条数
|
||||
public int PageSize { get; set; } = 50000;
|
||||
// public int PageSize { get; set; } = 50000;
|
||||
public int PageSize { get; set; } = 10000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,6 +62,8 @@ namespace WMS.Web.Repositories
|
||||
|
||||
|
||||
#region 条件
|
||||
// DateTime dt= DateTime.Now.AddDays(-30);
|
||||
|
||||
if (!string.IsNullOrEmpty(dto.User))
|
||||
res = res.Where(w => userIds.Contains(w.UserId));
|
||||
if (dto.BeginDate != null)
|
||||
|
||||
Reference in New Issue
Block a user