|
@@ -27,6 +27,7 @@
|
|
|
IFNULL(p.visibility,3) as p_visibility,
|
|
|
ifnull(p.newvalidflag,0) as p_newvalidflag,
|
|
|
p.productType as p_product_type,
|
|
|
+ p.relatedLabels as p_labels,
|
|
|
(select unit from cm_sku where productID=#{productId} order by price asc LIMIT 1) as p_unit,
|
|
|
(select price from cm_sku where productID=#{productId} order by price asc LIMIT 1) as p_price
|
|
|
</sql>
|
|
@@ -225,7 +226,8 @@
|
|
|
a.label as a_label,
|
|
|
a.typeId as a_type_id,
|
|
|
b.name as a_type_text,
|
|
|
- a.priorityIndex as a_sort
|
|
|
+ a.priorityIndex as a_sort,
|
|
|
+ a.relatedLabels as a_labels
|
|
|
</sql>
|
|
|
<sql id="Article_Joins">
|
|
|
left join info_type b on a.typeId = b.id
|