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