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">