dongke 1 год назад
Родитель
Сommit
46d271fddf

+ 3 - 1
src/main/java/com/dk/mdm/mapper/ivt/OutboundItemMapper.xml

@@ -129,6 +129,7 @@
         <result column="flgSubUnit" property="flgSubUnit"/>
         <result column="subUnitName" property="subUnitName"/>
         <result column="unitName" property="unitName"/>
+        <result column="use_place" property="usePlace"/>
 
     </resultMap>
 
@@ -408,7 +409,8 @@
                tpi.wh_id                                                                 as "whId",
                tpi.inv_qty                                                               as "invQty",
                tpi.usable_qty                                                            as "usableQty",
-               tmw.wh_name                                                               as "whName"
+               tmw.wh_name                                                               as "whName",
+               t.use_place
         FROM dkic_b.t_psi_outbound_item as t
                  left join dkic_b.t_psi_order_item as tpoi on tpoi.item_id = t.from_item_id
                  left join dkic_b.t_psi_order as tpo on tpo.order_id = t.from_id

+ 4 - 0
src/main/java/com/dk/mdm/model/pojo/ivt/OutboundItem.java

@@ -47,6 +47,10 @@ public class OutboundItem extends PageInfo<OutboundItem> implements Serializable
     @TableField(typeHandler = UuidTypeHandler.class)
     private String itemId;
 
+    @Excel(name = "使用位置")
+    @ApiModelProperty(value = "使用位置")
+    private String usePlace;
+
 
     /**
      * 出库ID

+ 4 - 0
src/main/java/com/dk/mdm/model/response/ivt/OutboundItemResponse.java

@@ -363,6 +363,10 @@ public class OutboundItemResponse {
     @ApiModelProperty(value = "基本单位名称")
     private String unitName;
 
+    @Excel(name = "使用位置")
+    @ApiModelProperty(value = "使用位置")
+    private String usePlace;
+
     @Excel(name = "包装单位编码")
     @ApiModelProperty(value = "包装单位编码")
     private String subUnitCode;

+ 3 - 0
src/main/java/com/dk/mdm/model/vo/ivt/OutboundItemVO.java

@@ -38,6 +38,9 @@ public class OutboundItemVO {
     @ApiModelProperty(value = "明细ID")
     @TableField(typeHandler = UuidTypeHandler.class)
     private String itemId;
+    @Excel(name = "使用位置")
+    @ApiModelProperty(value = "使用位置")
+    private String usePlace;
 
     /**
      * 入库金额