|
@@ -33,7 +33,7 @@
|
|
|
,IFNULL(s.`name`,'---') AS 'spName'
|
|
|
FROM cm_coupon_club a
|
|
|
<include refid="cmCouponClubJoins"/>
|
|
|
- LEFT JOIN serviceprovider s ON s.`serviceProviderID` = a.spId
|
|
|
+ LEFT JOIN user s ON s.userId = a.shareUserId
|
|
|
<where>
|
|
|
<if test="couponId != null">
|
|
|
AND a.couponId = #{couponId}
|