@@ -115,7 +115,6 @@
where gt.id != #{groupId}
and gt.sku_id = #{skuId}
and gt.status = 'validity'
- and a.expiry_time >= #{expiryTime}
and gt.available_num > 0
order by a.expiry_time asc limit 1
</select>