Kaynağa Gözat

fix 资料审核

he2802 4 yıl önce
ebeveyn
işleme
2b31f2d606

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionMapper.xml

@@ -95,7 +95,7 @@
         LEFT JOIN question_business qb ON q.question_id = qb.major_id
         AND qb.type = 1
         WHERE
-        1 = 1
+        1 = 1 AND q.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND q.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/base/ApplyAreasMapper.xml

@@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM
         apply_areas a1
         LEFT JOIN apply_areas a2 ON a1.parent_id = a2.area_id
-        WHERE a1.area_type=2
+        WHERE a1.area_type=2 AND a1.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND a1.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseChapterMapper.xml

@@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         ) c
         LEFT JOIN course_chapter_business ccb ON ccb.chapter_id = c.chapter_id
         WHERE
-        1 = 1
+        1 = 1 AND c.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND c.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

@@ -91,7 +91,7 @@
         LEFT JOIN major m ON c.major_id = m.id
         LEFT JOIN course_subject cs ON cs.id = c.subject_id
         WHERE
-        1 = 1
+        1 = 1 AND c.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND c.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseModuleMapper.xml

@@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         ) c
 
         WHERE
-        1 = 1
+        1 = 1 AND c.status !=-1
         <if test="status != null and status.size()!=0 ">
             AND c.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseSectionMapper.xml

@@ -113,7 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         course_section c
         LEFT JOIN course_section_business csb ON csb.section_id  = c.section_id
         WHERE
-        1 = 1
+        1 = 1 AND c.status !=-1
         <if test="name != null and name != ''">
             AND c.name like concat('%', #{name}, '%')
         </if>