瀏覽代碼

订单班级

he2802 3 年之前
父節點
當前提交
dc3f72ebed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

+ 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=",">