浏览代码

fix 报考

he2802 3 年之前
父节点
当前提交
1f63c80d92
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/exam/ExamApplyGoodsMapper.xml

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

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