diff --git a/src/main/resources/mapper/productionReturn/ProductionReturnMapper.xml b/src/main/resources/mapper/productionReturn/ProductionReturnMapper.xml index 2b15f9c..8e0d44a 100644 --- a/src/main/resources/mapper/productionReturn/ProductionReturnMapper.xml +++ b/src/main/resources/mapper/productionReturn/ProductionReturnMapper.xml @@ -11,7 +11,8 @@ sh.OrderNo as inboundNo, sh.PartNo as partNo, p.PartDescription as partDesc, - sh.batch_no as batchNo + sh.batch_no as batchNo, + sh.LotSize as lotSize -- 订单数量 from ShopOrder as sh left join part as p on sh.site = p.site and sh.bu_no = p.bu_no and sh.PartNo = p.PartNo where sh.site = #{site} and sh.bu_no in (select bu_no from AccessBu where username = #{userName}) @@ -35,7 +36,8 @@ sh.OrderNo as inboundNo, sh.PartNo as partNo, p.PartDescription as partDesc, - sh.batch_no as batchNo + sh.batch_no as batchNo, + sh.LotSize as lotSize -- 订单数量 from ShopOrder as sh left join part as p on sh.site = p.site and sh.bu_no = p.bu_no and sh.PartNo = p.PartNo where sh.site = #{site} AND sh.bu_no = #{buNo} AND sh.OrderNo = #{orderNo}