dongke 1 год назад
Родитель
Сommit
dd7f133b15
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/main/java/com/dk/mdm/mapper/ivt/OutboundItemMapper.xml

+ 4 - 0
src/main/java/com/dk/mdm/mapper/ivt/OutboundItemMapper.xml

@@ -140,6 +140,8 @@ sys.f_remove_zero(out_qty) as out_qty, out_amt, sys.f_remove_zero(return_qty) as
         <result column="discount" property="discount"/>
         <result column="disc_amt" property="discAmt"/>
         <result column="out_no" property="outNo"/>
+        <result column="cost_price" property="costPrice"/>
+        <result column="cost_amt" property="costAmt"/>
     </resultMap>
 
     <!-- 通用条件列 -->
@@ -602,6 +604,8 @@ sys.f_remove_zero(out_qty) as out_qty, out_amt, sys.f_remove_zero(return_qty) as
                 ,t.out_box
                 ,t.out_piece
                 ,t.out_status
+                ,tpobi.cost_price
+                ,tpobi.cost_amt
         FROM dkic_b.t_psi_outbound_item as t
                  left join dkic_b.t_mst_warehouse tmw on tmw.wh_id = t.wh_id
                  left join dkic_b.t_mst_unit as tmgu on t.unit_id = tmgu.unit_id