提交 a622c888 authored 作者: luojie's avatar luojie

修改优惠券分类SQL

上级 3e87d255
......@@ -250,7 +250,7 @@
left join tb_cf_take_coupon t1 on t1.coupon_id=t2.coupon_id
left join tb_cf_issue_coupon t3 on t3.coupon_id=t2.coupon_id
where (t1.user_id=#{userId} and t1.enable_flag=0)
or (t3.user_id=#{userId} and t3.enable_flag=0)
or (t3.user_id=#{userId} and t3.enable_flag=0)
</select>
<!--获取已过期的优惠券-->
<select id="queryUserExpiredoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论