过滤商品券
This commit is contained in:
parent
c971b639eb
commit
4637b6a64c
@ -74,7 +74,8 @@
|
||||
WHERE
|
||||
cfr.mt_user_id = #{cardFavorableDTOS.id}
|
||||
and cfr.status = #{cardFavorableDTOS.useStatus}
|
||||
and cfr.store_id = #{cardFavorableDTOS.storeId} UNION ALL
|
||||
and cfr.store_id = #{cardFavorableDTOS.storeId}
|
||||
and cf.type != 1 UNION ALL
|
||||
SELECT
|
||||
'兑换券' AS couponType,
|
||||
ce.NAME couponName, ce.id id, ce.count couponAmount, ce.use_instructions couponContent,cer.id cardRecordId, cer.out_time endTime
|
||||
|
Loading…
Reference in New Issue
Block a user