he2802 1 jaar geleden
bovenliggende
commit
28822ed4d9
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

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

@@ -1356,7 +1356,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="classStatus != null and  classStatus!=2">
             AND g.class_status =  #{classStatus}
         </if>
-        <if test="classStatus != null and  classStatus =2 ">
+        <if test="classStatus != null and  classStatus == 2 ">
             AND g.class_status =  1 and unix_timestamp(now()) > g.class_end_time
         </if>
         <if test="atFull != null and atFull !='' ">
@@ -1442,7 +1442,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="classStatus != null and  classStatus!=2">
             AND g.class_status =  #{classStatus}
         </if>
-        <if test="classStatus != null and  classStatus =2 ">
+        <if test="classStatus != null and  classStatus ==2 ">
             AND g.class_status =  1 and unix_timestamp(now()) > g.class_end_time
         </if>
         <if test="atFull != null and atFull !='' ">