Ver Fonte

订单班级

he2802 há 3 anos atrás
pai
commit
dc3f72ebed

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

@@ -162,7 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="userId != null and userId !=0 ">
             LEFT JOIN class_grade_user gu on g.grade_id = gu.grade_id AND gu.status = 1
         </if>
-        where 1=1
+        where g.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND g.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">