修改bug
This commit is contained in:
parent
e980d52dee
commit
087b4ded03
@ -354,6 +354,7 @@
|
|||||||
LEFT JOIN active_discount_child adc ON ad.id = adc.active_discount_id
|
LEFT JOIN active_discount_child adc ON ad.id = adc.active_discount_id
|
||||||
where ad.store_id = #{storeId}
|
where ad.store_id = #{storeId}
|
||||||
and adc.amount <= #{amount}
|
and adc.amount <= #{amount}
|
||||||
|
and ad.status = 0
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectActiveFule" resultType="com.fuint.business.marketingActivity.activeDiscount.vo.ActiveDiscountPayVO">
|
<select id="selectActiveFule" resultType="com.fuint.business.marketingActivity.activeDiscount.vo.ActiveDiscountPayVO">
|
||||||
@ -369,6 +370,7 @@
|
|||||||
LEFT JOIN active_discount_child adc ON af.id = adc.active_fullminus_id
|
LEFT JOIN active_discount_child adc ON af.id = adc.active_fullminus_id
|
||||||
where af.store_id = #{storeId}
|
where af.store_id = #{storeId}
|
||||||
and adc.amount <= #{amount}
|
and adc.amount <= #{amount}
|
||||||
|
and status = 0
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectActiveConsumption" resultType="com.fuint.business.marketingActivity.activeDiscount.vo.ActiveConsumptionVO">
|
<select id="selectActiveConsumption" resultType="com.fuint.business.marketingActivity.activeDiscount.vo.ActiveConsumptionVO">
|
||||||
|
Loading…
Reference in New Issue
Block a user