he2802 3 жил өмнө
parent
commit
e26f62455b

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