@@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
eag.goods_id = #{goodsId}
and unix_timestamp(now()) < ea.apply_end_time
and ea.`status` = 1
+ and ea.apply_start_time < unix_timestamp(now())
ORDER BY ea.apply_start_time
</select>
</mapper>