一键发券
This commit is contained in:
parent
ab435b6055
commit
9ce51786d6
@ -68,7 +68,7 @@
|
||||
left join card_favorable cf ON cfr.card_favorable_id = cf.id
|
||||
left join mt_store ms on ms.id = cfr.store_id
|
||||
<where>
|
||||
cfr.exchange_from = "店铺一键送券"
|
||||
cfr.exchange_from = "店铺一键送券!"
|
||||
<if test="cardFavorableRecord.storeId != null">
|
||||
and cf.store_id = #{cardFavorableRecord.storeId}
|
||||
</if>
|
||||
|
@ -86,7 +86,7 @@
|
||||
LEFT JOIN mt_user_balance mub ON mu.id = mub.mt_user_id
|
||||
left join oil_order oo on mu.id = oo.user_id
|
||||
<where>
|
||||
oo.create_time <= DATE_SUB(NOW(), INTERVAL #{days} DAY)
|
||||
oo.create_time <= DATE_SUB(NOW(), INTERVAL ${user.days} DAY)
|
||||
<if test="user.chainStoreId != null and user.chainStoreId != ''">
|
||||
and mub.chain_store_id = #{user.chainStoreId}
|
||||
</if>
|
||||
|
Loading…
Reference in New Issue
Block a user