소스 검색

优惠券分享人

zhijiezhao 1 년 전
부모
커밋
bd188bc09e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mappings/modules/coupon/CmCouponClubMapper.xml

+ 1 - 1
src/main/resources/mappings/modules/coupon/CmCouponClubMapper.xml

@@ -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}