cloud-server-course/src/main/resources/mapper/CoursePackageStudentMapper.xml
@@ -56,10 +56,11 @@ pg.NAME AS className, pg.`type` AS classType FROM t_course_package_payment py t_course_package_order_student py LEFT JOIN t_course_package pg ON py.coursePackageId = pg.id <where> py.status = 1 <if test="null != tStudentId"> and py.studentId = #{tStudentId} </if>