@@ -196,6 +196,6 @@
where channel = #{channel}
and user_id = #{userId}
and valid_end_time > #{now} limit 1) cu
- inner join coupon cp on cp.id = cu.coupon_id
+ inner join coupon c on c.id = cu.coupon_id
</select>
</mapper>