@ -171,7 +171,7 @@
</select>
<select id= "getFirstClassify" parameterType= "java.lang.Object" resultType= "com.shop.cereshop.app.page.classify.Classify" >
SELECT classify_id,classify_name,classify_image from cere_product_classify
SELECT classify_id,classify_name,classify_image,classify_hierarchy from cere_product_classify
where 1=1 AND project=#{project}
<if test= "classifyId!=null" >
and classify_pid=#{classifyId}
@ -182,15 +182,15 @@
</select>
<select id= "findThreeClassify" parameterType= "java.lang.Object" resultType= "com.shop.cereshop.app.page.classify.Classify" >
SELECT classify_id,classify_pid,classify_name,classify_image from cere_product_classify where classify_level=3 AND project=#{project}
SELECT classify_id,classify_pid,classify_name,classify_image,classify_hierarchy from cere_product_classify where classify_level=3 AND project=#{project}
</select>
<select id= "getClaasifyProducts" parameterType= "com.shop.cereshop.app.param.classify.ClassifyProductParam" resultType= "com.shop.cereshop.app.page.index.Product" >
SELECT
SELECT DISTINCT
a.product_id,
a.shop_id,
d.shop_name,
d.shop_logo,
a.product_id,
a.product_name,
c.product_image image,
b.sku_id,