导入导出

This commit is contained in:
2026-01-07 15:36:08 +08:00
parent d3b98de1e6
commit fb775ae53c
2 changed files with 7 additions and 3 deletions

View File

@@ -178,13 +178,17 @@ namespace DOAN.Service.BZFM
/// 导出物料表列表
/// </summary>
/// <returns></returns>
public PagedInfo<MmMaterial> SelectMaterialList(MmMaterialQueryDto material, PagerInfo pager)
public PagedInfo<MmMaterialExcelDto> SelectMaterialList(MmMaterialQueryDto material, PagerInfo pager)
{
// Use the same predicate builder as GetList to support consistent filtering
var predicate = QueryExp(material);
var query = Queryable()
.Where(predicate.ToExpression());
.Where(predicate.ToExpression())
.Select(it => new MmMaterialExcelDto;
;
return query.ToPage(pager);
}