he2802 3 жил өмнө
parent
commit
3730dc3614

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/exam/ExamApplyGoodsMapper.xml

@@ -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>