he2802 1 年之前
父节点
当前提交
35dcc77ab0
共有 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

@@ -488,7 +488,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND cgu.official_status = 1
         </if>
         <if test="officialStatus != null and officialStatus == 0 ">
-            AND cgu.official_status != 1
+            AND (cgu.official_status is NULL or cgu.official_status=0)
         </if>
         <if test="realname != null and realname != ''">
             AND u.realname like concat('%', #{realname}, '%')