|
@@ -135,7 +135,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
c.dict_label projectName,
|
|
c.dict_label projectName,
|
|
|
e.course_name,
|
|
e.course_name,
|
|
|
IF(g.company_user_id = #{userId}, g.qw_user_name, '其他') qwUserName,
|
|
IF(g.company_user_id = #{userId}, g.qw_user_name, '其他') qwUserName,
|
|
|
- f.title videoName
|
|
|
|
|
|
|
+ f.title videoName,
|
|
|
|
|
+ qc.corp_name
|
|
|
from
|
|
from
|
|
|
fs_user_company_bind a
|
|
fs_user_company_bind a
|
|
|
left join fs_user b on a.fs_user_id = b.user_id
|
|
left join fs_user b on a.fs_user_id = b.user_id
|
|
@@ -143,6 +144,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join fs_user_course e on a.course_id = e.course_id
|
|
left join fs_user_course e on a.course_id = e.course_id
|
|
|
left join fs_user_course_video f on a.video_id = f.video_id
|
|
left join fs_user_course_video f on a.video_id = f.video_id
|
|
|
left join qw_user g on g.id = a.qw_user_id
|
|
left join qw_user g on g.id = a.qw_user_id
|
|
|
|
|
+ left join qw_company qc on qc.id = a.qw_company_id
|
|
|
<where>
|
|
<where>
|
|
|
<if test="externalUserId != null">
|
|
<if test="externalUserId != null">
|
|
|
and a.qw_external_contact_id = #{externalUserId}
|
|
and a.qw_external_contact_id = #{externalUserId}
|