Jelajahi Sumber

搜索条件新增

change 3 tahun lalu
induk
melakukan
bbb21b37df

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

@@ -221,7 +221,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           AND cgu.user_id = #{userId}
           and cgu.grade_id = #{gradeId}
           AND cgu.period_status = 1
-           and (unix_timestamp(now()) < g.class_end_time or g.class_start_time is null)
+           and (unix_timestamp(now()) < cg.class_end_time or cg.class_start_time is null)
           and cg.`status` =1
           and cgu.`status` =1
     </select>