|
|
@ -859,7 +859,14 @@ |
|
|
|
LEFT JOIN (SELECT a.product_id,a.product_image from cere_product_image a,cere_shop_product b |
|
|
|
where a.product_id=b.product_id GROUP BY a.product_id) c ON a.product_id=c.product_id |
|
|
|
LEFT JOIN cere_platform_shop d ON a.shop_id=d.shop_id |
|
|
|
where d.state=1 and a.shelve_state=1 and a.shop_id = #{shopId} |
|
|
|
where d.state=1 |
|
|
|
<if test="project == 0"> |
|
|
|
and a.plat_shelve_state=1 |
|
|
|
</if> |
|
|
|
<if test="project!=0 and project != ''"> |
|
|
|
and a.shelve_state=1 |
|
|
|
</if> |
|
|
|
and a.shop_id = #{shopId} |
|
|
|
ORDER BY a.update_time DESC LIMIT 4 |
|
|
|
</select> |
|
|
|
<select id="selectFictitiousNumber" resultType="java.lang.Integer"> |
|
|
|