optimize
wet 1 year ago
parent f2cf96c41d
commit ccaa51cef3

@ -404,7 +404,7 @@ namespace Myshipping.Application
CreatedUserId = config.CreatedUserId,
Sort = config.Sort
}).ToList();
var statusloglist = _repStatuslog.AsQueryable().Filter(null, true).Where(x => (x.Status == "提箱" || x.Status == "返场")&&x.IsDeleted==false&&x.TenantId==UserManager.TENANT_ID).ToList();
var statusloglist = _repStatuslog.AsQueryable().Filter(null, true).Where(x => (x.Status == "提箱" || x.Status == "返场")&&x.IsDeleted==false).ToList();
var statuslogdetaillist = _statuslogdetail.AsQueryable().Filter(null, true).ToList();
foreach (var item in list.Items)
{
@ -735,7 +735,7 @@ namespace Myshipping.Application
CreatedUserId = config.CreatedUserId,
Sort = config.Sort
}).ToList();
var statusloglist = _repStatuslog.AsQueryable().Filter(null, true).Where(x=> (x.Status == "提箱" || x.Status == "返场")&&x.IsDeleted==false&&x.TenantId==UserManager.TENANT_ID).ToList();
var statusloglist = _repStatuslog.AsQueryable().Filter(null, true).Where(x=> (x.Status == "提箱" || x.Status == "返场")&&x.IsDeleted==false).ToList();
var statuslogdetaillist = _statuslogdetail.AsQueryable().ToList();
foreach (var item in list.Items)
{

Loading…
Cancel
Save