From 1d9f7b0cf4251f3058badb07dd7a2bc06b6bc09a Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 11 四月 2025 10:05:32 +0800 Subject: [PATCH] bug修改 --- cloud-server-course/src/main/resources/mapper/PostCourseVideoMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cloud-server-course/src/main/resources/mapper/PostCourseVideoMapper.xml b/cloud-server-course/src/main/resources/mapper/PostCourseVideoMapper.xml index fefaf6b..fc0e8cb 100644 --- a/cloud-server-course/src/main/resources/mapper/PostCourseVideoMapper.xml +++ b/cloud-server-course/src/main/resources/mapper/PostCourseVideoMapper.xml @@ -3,7 +3,8 @@ <mapper namespace="com.dsh.course.mapper.PostCourseVideoMapper"> <select id="queryCourseOfVideos" resultType="com.dsh.course.feignclient.model.ExerciseVideo"> - SELECT tc.introduce as videoName, tc.coverDrawing as videoCoverImgUrl, tc.courseVideo as videoUrl + SELECT tc.introduce as videoName, tc.coverDrawing as videoCoverImgUrl, tc.courseVideo as videoUrl, + courseId as videoId,coursePackageId FROM t_post_course_video tpcv LEFT JOIN t_course tc on tc.id = tpcv.courseId where tc.state = 1 -- Gitblit v1.7.1