feat(purchase): 采购相关 BO 和 DTO 中增加供应商信息
- 在多个采购相关的 BO 和 DTO 中添加供应商 ID 和名称字段 - 更新数据库查询以包含供应商信息- 优化采购订单和收货单的查询 SQL,加入供应商筛选条件
This commit is contained in:
parent
a318a1f4a6
commit
09a2b1c762
|
@ -287,6 +287,8 @@ public class PurchaseOrderWithReceiveBo extends BaseBo<PurchaseOrderWithReceiveD
|
||||||
this.spec = product.getSpec();
|
this.spec = product.getSpec();
|
||||||
this.categoryName = product.getCategoryName();
|
this.categoryName = product.getCategoryName();
|
||||||
this.brandName = product.getBrandName();
|
this.brandName = product.getBrandName();
|
||||||
|
this.supplierId = product.getSupplierId();
|
||||||
|
this.supplierName = product.getSupplierName();
|
||||||
|
|
||||||
this.orderNum = dto.getOrderNum();
|
this.orderNum = dto.getOrderNum();
|
||||||
this.purchasePrice = dto.getTaxPrice();
|
this.purchasePrice = dto.getTaxPrice();
|
||||||
|
|
Loading…
Reference in New Issue