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

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

@@ -272,7 +272,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           and usr.course_id=#{courseId}
           and usr.section_id=#{typeId}
           AND usr.current_status =1
-          and (up.order_goods_id=#{orderGoodsId} or up.order_goods_id is null )
+          and usr.order_goods_id=#{orderGoodsId}
     </select>
 
     <select id="learningExamCheck" parameterType="map"  resultType="integer">