diff --git a/src/main/java/com/gaotao/modules/outboundNotification/entity/vo/OutboundNotificationDetailVo.java b/src/main/java/com/gaotao/modules/outboundNotification/entity/vo/OutboundNotificationDetailVo.java index af9befe..53cbf29 100644 --- a/src/main/java/com/gaotao/modules/outboundNotification/entity/vo/OutboundNotificationDetailVo.java +++ b/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 rollQty; private Double unScanQty; + private String umName; } \ No newline at end of file diff --git a/src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml b/src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml index decdb48..e7fc896 100644 --- a/src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml +++ b/src/main/resources/mapper/outboundNotification/OutboundNotificationDetailMapper.xml @@ -12,6 +12,7 @@ a.part_no, a.part_desc, a.unit, + c.umName, a.required_qty, a.out_warehouse, b.WareHouseName as outWarehouseName, @@ -26,6 +27,7 @@ a.actual_out_qty as actualStockOutQty 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 um as c on a.site = c.site and a.unit = c.UMID a.site = #{site} and a.bu_no = #{buNo} and a.order_no = #{orderNo}