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