|
@@ -37,7 +37,7 @@
|
|
|
s.name as smallTypeText,
|
|
|
b.bigTypeID as bigTypeId,
|
|
|
b.name as bigTypeText,
|
|
|
-
|
|
|
+ p.productType,
|
|
|
p.shopID as shopId,
|
|
|
sh.name as shopTitle,
|
|
|
sh.businessScope as businessScope,
|
|
@@ -66,7 +66,9 @@
|
|
|
select
|
|
|
p.productID as id,
|
|
|
p.`name` as `name`,
|
|
|
+ p.productType,
|
|
|
p.mainImage as image
|
|
|
+
|
|
|
from product as p
|
|
|
left join cm_product_recommend as pr on pr.recommendProductID = p.productID
|
|
|
where
|
|
@@ -77,6 +79,7 @@
|
|
|
select
|
|
|
p.productID as id,
|
|
|
p.`name` as `name`,
|
|
|
+ p.productType,
|
|
|
p.mainImage as image
|
|
|
from product as p
|
|
|
where
|
|
@@ -109,6 +112,7 @@
|
|
|
p.priceFlag,
|
|
|
p.ladderPriceFlag as ladderFlag,
|
|
|
p.validFlag as validFlag,
|
|
|
+ p.productType,
|
|
|
p.stock as stock
|
|
|
from product p
|
|
|
where p.productID = #{productId}
|