he2802 1 anno fa
parent
commit
35dcc77ab0

+ 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}, '%')