|
|
|
@@ -664,8 +664,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
<select id="findCardListOfCUser" parameterType="com.iformall.domain.vo.WxCardCVo" resultMap="CCardVoResultMap"> |
|
|
|
select id,tenant_id,coupon_id,coupon_type,expired_time,coupon_order_status,create_date,update_date, |
|
|
|
cover_img,title,sub_title,detail,unit,remark,amount,remaining_amount,support_transfer |
|
|
|
select id,tenant_id,'' coupon_id,'' coupon_type,expired_time,`status`as |
|
|
|
coupon_order_status,create_date,update_date, |
|
|
|
'' cover_img,title,'' sub_title,'' detail,'' unit,'' remark,amount,remain_amount as remaining_amount,'' |
|
|
|
support_transfer |
|
|
|
from wx_card_transfer_info where 1=1 |
|
|
|
<if test="tenantId != null"> |
|
|
|
and tenant_id = #{tenantId} |
|
|
|
@@ -675,10 +677,10 @@ |
|
|
|
</if> |
|
|
|
<choose> |
|
|
|
<when test="couponOrderStatus != null"> |
|
|
|
co.coupon_order_status = #{couponOrderStatus} |
|
|
|
and status = #{couponOrderStatus} |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
co.coupon_order_status=8 |
|
|
|
and status=8 |
|
|
|
</otherwise> |
|
|
|
</choose> |
|
|
|
union |
|
|
|
|