|
@@ -141,7 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
u.grade_id,
|
|
|
u.user_id,
|
|
|
(SELECT i.business_name FROM course_business i where i.id = g.business_id) as business_name,
|
|
|
- (SELECT p.project_name FROM course_project_type p where p.id = g.business_id) as project_name,
|
|
|
+ (SELECT p.project_name FROM course_project_type p where p.id = g.project_id) as project_name,
|
|
|
(SELECT s.school_name FROM school s where s.id = g.school_id) as school_name,
|
|
|
(SELECT e.education_name FROM course_education_type e where e.id = g.education_type_id) as education_name,
|
|
|
(SELECT r.start_time FROM user_study_record r where 1=1 and r.user_id = #{userId} AND g.goods_id=r.goods_id ORDER BY r.start_time ASC LIMIT 1) as start_time,
|