| | |
| | | <select id="getActivityEffectList" resultType="com.mzl.flower.dto.response.coupon.CouponTemplateVO"> |
| | | |
| | | </select> |
| | | <select id="getCouponCustomerList" |
| | | resultType="com.mzl.flower.dto.response.coupon.CouponTemplateCustomerVO"> |
| | | select ci.id,ci.name,u.tel |
| | | from t_coupon_template c |
| | | left JOIN t_coupon_template_customer cc |
| | | on c.id=cc.coupon_id |
| | | left join t_customer_info ci |
| | | on cc.custom_id=ci.id |
| | | left join t_user u |
| | | on ci.user_id=u.id |
| | | where c.deleted= false |
| | | and c.id=#{id} |
| | | |
| | | </select> |
| | | |
| | | <sql id="QueryPointSql"> |
| | | select * |