修改bug

This commit is contained in:
齐天大圣 2024-01-10 16:17:20 +08:00
parent e980d52dee
commit 087b4ded03

View File

@ -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 &lt;= #{amount} and adc.amount &lt;= #{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">