|
@@ -113,7 +113,10 @@
|
|
|
<result column="box" property="box"/>
|
|
<result column="box" property="box"/>
|
|
|
<result column="piece" property="piece"/>
|
|
<result column="piece" property="piece"/>
|
|
|
<result column="pack_box" property="packBox"/>
|
|
<result column="pack_box" property="packBox"/>
|
|
|
|
|
+ <result column="unitId" property="unitId"/>
|
|
|
|
|
+ <result column="subUnitId" property="subUnitId"/>
|
|
|
<result column="skuImages" property="skuImages" typeHandler="JsonTypeHandler"/>
|
|
<result column="skuImages" property="skuImages" typeHandler="JsonTypeHandler"/>
|
|
|
|
|
+ <result column="specsName" property="specsName"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -316,10 +319,10 @@
|
|
|
,tmgs.price_purchase as "pricePurchase"
|
|
,tmgs.price_purchase as "pricePurchase"
|
|
|
,tmgs.price_standard as "priceStandard"
|
|
,tmgs.price_standard as "priceStandard"
|
|
|
,sys.f_get_name_i18n(tdk1.kind_name_i18n, #{i18n}) as "intoStatusName"
|
|
,sys.f_get_name_i18n(tdk1.kind_name_i18n, #{i18n}) as "intoStatusName"
|
|
|
- ,
|
|
|
|
|
- i.inv_id,
|
|
|
|
|
- i.inv_qty,
|
|
|
|
|
- i.usable_qty
|
|
|
|
|
|
|
+ ,dkic_b.f_box_piece(u2.unit_name,ul.unit_name,tppi.box,tppi.piece) as "specsName"
|
|
|
|
|
+ ,i.inv_id
|
|
|
|
|
+ ,i.inv_qty
|
|
|
|
|
+ ,i.usable_qty
|
|
|
,tpp.pur_no as "purNo"
|
|
,tpp.pur_no as "purNo"
|
|
|
,tmgs.pack_box
|
|
,tmgs.pack_box
|
|
|
FROM dkic_b.t_psi_purchase_item tppi
|
|
FROM dkic_b.t_psi_purchase_item tppi
|
|
@@ -342,7 +345,8 @@
|
|
|
left join dkic_b.t_mst_goods_brand tmgb on tmgb.brand_id = tmgs.brand_id
|
|
left join dkic_b.t_mst_goods_brand tmgb on tmgb.brand_id = tmgs.brand_id
|
|
|
left join sys.t_data_kind tdk1 on tdk1.kind_code = tppi.into_status
|
|
left join sys.t_data_kind tdk1 on tdk1.kind_code = tppi.into_status
|
|
|
left join dkic_b.t_psi_purchase tpp on tpp.pur_id = tppi.pur_id
|
|
left join dkic_b.t_psi_purchase tpp on tpp.pur_id = tppi.pur_id
|
|
|
-
|
|
|
|
|
|
|
+ left join dkic_b.t_mst_unit ul on tppi.unit_id = ul.unit_id
|
|
|
|
|
+ left join dkic_b.t_mst_unit u2 on tppi.sub_unit_id = u2.unit_id
|
|
|
|
|
|
|
|
<include refid="Condition_1"/>
|
|
<include refid="Condition_1"/>
|
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|