|
@@ -499,7 +499,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getSnCodeList" resultType="com.caimei.model.vo.ProductListVo">
|
|
|
- select DISTINCT p.id as productId,p.productTypeId as productTypeId,t.name as productName,snCode,a.authParty as
|
|
|
+ select p.id as productId,p.productTypeId as productTypeId,t.name as productName,snCode,a.authParty as
|
|
|
authParty
|
|
|
from cm_brand_auth_product p
|
|
|
left join cm_brand_product_relation r on p.id = r.productId
|
|
@@ -529,7 +529,7 @@
|
|
|
#{reId,jdbcType=VARCHAR}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
-
|
|
|
+ GROUP BY p.id
|
|
|
</select>
|
|
|
<select id="getProductClubList" resultType="com.caimei.model.vo.WxClubListVo">
|
|
|
select a.id as authId, a.authParty, a.logo
|