feat(purchase): 添加采购订单供应商名称显示功能

- 引入 ErpSupplierVo 和 ErpSupplierMapper 依赖
- 在采购订单查询接口中批量获取供应商信息
- 通过流式处理构建供应商ID到名称的映射关系
- 将供应商名称动态设置到采购订单VO对象中
- 实现供应商名称的批量查询优化避免N+1问题
This commit is contained in:
2026-05-08 19:49:01 +08:00
parent 35d5582ada
commit 9674de43d4
2 changed files with 41 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ public class ErpPurchaseOrderVo implements Serializable {
@ExcelProperty(value = "供应商ID")
private Long supplierId;
/**
* 供应商名称
*/
private String supplierName;
/**
* 下单日期
*/