Browse Source

2025-12-05

收货入库任务-》生产入库类型的入库明细优化
master
fengyuan_yang 1 month ago
parent
commit
71a5657b4e
  1. 1
      src/main/java/com/gaotao/modules/outboundNotification/entity/vo/OutboundNotificationDetailVo.java
  2. 2
      src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml

1
src/main/java/com/gaotao/modules/outboundNotification/entity/vo/OutboundNotificationDetailVo.java

@ -22,4 +22,5 @@ public class OutboundNotificationDetailVo extends OutboundNotificationDetailEnti
private String closeFlag; private String closeFlag;
private String rollQty; private String rollQty;
private Double unScanQty; private Double unScanQty;
private String umName;
} }

2
src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml

@ -12,6 +12,7 @@
a.part_no, a.part_no,
a.part_desc, a.part_desc,
a.unit, a.unit,
c.umName,
a.required_qty, a.required_qty,
a.out_warehouse, a.out_warehouse,
b.WareHouseName as outWarehouseName, b.WareHouseName as outWarehouseName,
@ -26,6 +27,7 @@
a.actual_out_qty as actualStockOutQty a.actual_out_qty as actualStockOutQty
FROM outbound_notification_detail as a FROM outbound_notification_detail as a
left join WareHouse as b on a.site = b.site and a.bu_no = b.bu_no and a.out_warehouse = b.WareHouseID left join WareHouse as b on a.site = b.site and a.bu_no = b.bu_no and a.out_warehouse = b.WareHouseID
left join um as c on a.site = c.site and a.unit = c.UMID
<where> <where>
a.site = #{site} and a.bu_no = #{buNo} and a.order_no = #{orderNo} a.site = #{site} and a.bu_no = #{buNo} and a.order_no = #{orderNo}
<if test = "partNo != null and partNo != ''"> <if test = "partNo != null and partNo != ''">

Loading…
Cancel
Save