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
             AND cgu.official_status = 1
         </if>
         </if>
         <if test="officialStatus != null and officialStatus == 0 ">
         <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>
         <if test="realname != null and realname != ''">
         <if test="realname != null and realname != ''">
             AND u.realname like concat('%', #{realname}, '%')
             AND u.realname like concat('%', #{realname}, '%')