1、盘点报表函数新增分页功能
2、齐套分拣,调整分拣函数获取当前登录用户方式
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Core.Manager;
|
||||
using JNPF.Common.Filter;
|
||||
using JNPF.Common.Security;
|
||||
using JNPF.VisualDev;
|
||||
using JNPF.VisualDev.Entitys.Dto.VisualDevModelData;
|
||||
@@ -84,7 +85,19 @@ namespace Tnb.WarehouseMgr
|
||||
});
|
||||
return stockReport;
|
||||
});
|
||||
return result;
|
||||
|
||||
var pages = result.Skip(input.currentPage * input.pageSize).Take(input.pageSize).ToList();
|
||||
SqlSugarPagedList<WmsStockReportH> pagedList = new()
|
||||
{
|
||||
list = pages,
|
||||
pagination = new()
|
||||
{
|
||||
CurrentPage = input.currentPage,
|
||||
PageSize = input.pageSize,
|
||||
Total = result.Count()
|
||||
}
|
||||
};
|
||||
return PageResult<WmsStockReportH>.SqlSugarPageResult(pagedList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user