added: 学员,我的课程

This commit is contained in:
none
2023-03-20 12:01:55 +08:00
parent dfce2fc477
commit f57e27783b
22 changed files with 108 additions and 62 deletions

View File

@@ -166,4 +166,12 @@
</if>
</where>
</select>
<select id="openCoursesAndShow" resultType="xyz.playedu.api.domain.Course">
SELECT `courses`.*
FROM `courses`
LEFT JOIN `course_department` ON `course_department`.`course_id` = `courses`.`id`
WHERE `course_department`.`course_id` IS NULL
AND `courses`.`is_show` = 1
LIMIT #{limit}
</select>
</mapper>