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

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserSubscribeMapper.xml

@@ -565,6 +565,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 LEFT JOIN course_education_type cet ON cpt.education_id = cet.id
         WHERE
             m.category_name = #{majorName}
+          AND m.`status` = 1
           AND INSTR( '施工现场专业人员', cpt.project_name ) > 0
           AND INSTR( '考前培训', cet.education_name ) > 0
     </select>