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

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

@@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM exam_apply_goods eag
         LEFT JOIN exam_apply ea ON eag.apply_id = ea.apply_id
         WHERE
-            goods_id = #{goodsId}
-            and unix_timestamp(now()) < ea.apply_start_time
+            eag.goods_id = #{goodsId}
+            and unix_timestamp(now()) < ea.apply_end_time
         ORDER BY ea.apply_start_time
     </select>
 </mapper>