@@ -66,6 +66,7 @@
cpa.productImage as image,
cpa.productType,
cpa.productClassify
+ ,IFNULL((select sum(c.pv) from cm_praise_statistics c where c.delFlag = 0 and c.type = 1 and cm_product_archive_content.id = c.authorId ), 0) as pv
from cm_product_archive_content AS cm_product_archive_content
left join cm_product_archive cpa on cpa.id = cm_product_archive_content.productArchiveId
<where>