he2802 1 년 전
부모
커밋
5a06a3329b
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

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

@@ -493,8 +493,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="studyCountMore != null and studyCountMore == 0 ">
             AND og.study_count = 0
         </if>
-        <if test="periodStatus != null and periodStatus == 1 ">
-            AND cgu.period_status = 1
+        <if test="periodStatus != null ">
+            AND cgu.period_status = #{periodStatus}
         </if>
         <if test="officialStatus != null and officialStatus == 1 ">
             AND cgu.official_status = 1
@@ -676,8 +676,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="studyCountMore != null and studyCountMore == 0 ">
             AND og.study_count = 0
         </if>
-        <if test="periodStatus != null and periodStatus == 1 ">
-            AND cgu.period_status = 1
+        <if test="periodStatus != null ">
+            AND cgu.period_status = #{periodStatus}
         </if>
         <if test="officialStatus != null and officialStatus == 1 ">
             AND cgu.official_status = 1