Przeglądaj źródła

销售出库的箱片

姜永辉 1 rok temu
rodzic
commit
cd5d491529

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

@@ -407,8 +407,8 @@ sys.f_remove_zero(out_qty) as out_qty, out_amt, sys.f_remove_zero(return_qty) as
                t.sku_id,
                tmgs.sku_images,
                tmgs.flg_sub_unit AS "flgSubUnit",
-               t.outing_box ,
-               t.outing_piece ,
+               t.outing_box + t.out_box  as outing_box,
+               sys.f_remove_zero(t.outing_piece + t.out_piece)  as outing_piece,
                t.out_box ,
                t.out_piece ,
                tmgs.price_standard AS "priceStandard",