bug
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<mapper namespace="com.peanut.modules.common.dao.CourseCatalogueDao">
|
||||
<select id="getCanBindProductAndCourse" resultType="com.peanut.modules.common.vo.CourseCatalogueVo">
|
||||
select
|
||||
t1.id as courseId,
|
||||
t2.id as courseCatalogueId,
|
||||
t1.title as courseTitle,
|
||||
t2.title as CourseCatalogueTitle,
|
||||
t2.id as courseId,
|
||||
t1.id as catalogueId,
|
||||
t2.title as courseTitle,
|
||||
t1.title as CourseCatalogueTitle,
|
||||
t2.image
|
||||
from course_catalogue t1
|
||||
left join course t2 on t1.course_id = t2.id
|
||||
|
||||
Reference in New Issue
Block a user