|
|
@@ -101,6 +101,7 @@
|
|
|
<result column="sku_images" property="skuImages" typeHandler="JsonTypeHandler"/>
|
|
|
<result column="skuModel" property="skuModel"/>
|
|
|
<result column="skuName" property="skuName"/>
|
|
|
+ <result column="priceStandard" property="priceStandard"/>
|
|
|
<result column="brandName" property="brandName"/>
|
|
|
<result column="brand_name" property="brandName"/>
|
|
|
<result column="shortName" property="shortName"/>
|
|
|
@@ -122,6 +123,10 @@
|
|
|
<result column="sub_unit_code" property="subUnitCode"/>
|
|
|
<result column="sub_unit_name" property="subUnitName"/>
|
|
|
<result column="pack_box" property="packBox"/>
|
|
|
+ <result column="flgSubUnit" property="flgSubUnit"/>
|
|
|
+ <result column="subUnitName" property="subUnitName"/>
|
|
|
+ <result column="unitName" property="unitName"/>
|
|
|
+
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 通用条件列 -->
|
|
|
@@ -371,7 +376,13 @@
|
|
|
t.item_index,
|
|
|
t.sku_id,
|
|
|
tmgs.sku_images,
|
|
|
-
|
|
|
+ tmgs.flg_sub_unit AS "flgSubUnit",
|
|
|
+ t.outing_box AS "outingBox",
|
|
|
+ t.outing_piece AS "outingPiece",
|
|
|
+ tmgs.price_standard AS "priceStandard",
|
|
|
+ tmgs.pack_box AS "packBox",
|
|
|
+ tmgus.unit_name as "subUnitName",
|
|
|
+ tmgu.unit_name as "unitName",
|
|
|
tmgs.sku_code as "skuCode",
|
|
|
tmgs.sku_model as "skuModel",
|
|
|
tmgs.sku_name as "skuName",
|
|
|
@@ -395,6 +406,8 @@
|
|
|
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
|
|
|
left join dkic_b.t_mst_goods_sku tmgs on t.sku_id = tmgs.sku_id
|
|
|
+ left join dkic_b.t_mst_unit as tmgu on t.unit_id = tmgu.unit_id
|
|
|
+ left join dkic_b.t_mst_unit as tmgus on t.sub_unit_id = tmgus.unit_id
|
|
|
left join dkic_b.t_psi_inventory as tpi on tpi.inv_id = t.inv_id
|
|
|
left join dkic_b.t_mst_warehouse as tmw on tmw.wh_id = tpi.wh_id
|
|
|
left join dkic_b.t_mst_goods_brand tmgb on tmgb.brand_id = tmgs.brand_id
|