@@ -203,7 +203,7 @@
left join cm_hehe_product chp on a.productId = chp.productId
WHERE
a.centreId = #{centreId}
- and copi.organizeId=(SELECT SUBSTRING(groundMall, 1, 1)FROM product WHERE productID=p.productId)
+
<if test="type != null and type == '8'">
and chp.id is not null
</if>