浏览代码

fix 系统选新班

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

+ 2 - 2
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -330,10 +330,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND (SELECT COUNT(cgde.grade_id) FROM class_grade cgde where cgde.grade_id = cg.grade_id and (unix_timestamp(now()) < cgde.class_end_time or cgde.class_start_time is null)) =0
         </if>
         <if test="studyCountMore != null and studyCountMore == 1 ">
-            AND og.study_count > 1
+            AND og.study_count > 0
         </if>
         <if test="studyCountMore != null and studyCountMore == 0 ">
-            AND og.study_count = 1
+            AND og.study_count = 0
         </if>
         order by cgu.create_time desc
     </select>