|
@@ -26,7 +26,7 @@
|
|
|
and lc.teacher_range_type_ = #{param.teacherRangeType}
|
|
|
</if>
|
|
|
<if test="param.enable != null">
|
|
|
- and lc.id_enable_ = #{param.enable}
|
|
|
+ and lc.enable_ = #{param.enable}
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|
|
@@ -40,7 +40,7 @@
|
|
|
GROUP BY lc.id_
|
|
|
order by lc.create_time_ desc
|
|
|
</select>
|
|
|
- <select id="selectList" resultType="com.ym.mec.biz.dal.wrapper.LessonCoursewareWrapper$LessonCoursewareDto">
|
|
|
+ <select id="list" resultType="com.ym.mec.biz.dal.wrapper.LessonCoursewareWrapper$LessonCoursewareDto">
|
|
|
select lc.id_ id, lc.subject_id_ subjectId, lc.lesson_course_id_ lessonCoursewareId, lc.enable_ enable from lesson_courseware lc
|
|
|
left join lesson_courseware_user_mapper lcum ON lcum.lesson_courseware_id_ = lc.id_
|
|
|
<include refid="selectPageSql"/>
|