|
@@ -107,11 +107,11 @@
|
|
|
|
|
|
<select id="queryProjectMemberByUserId" resultType="org.jeecg.modules.ctop.entity.ProjectMember">
|
|
|
select
|
|
|
- distinct b.project_id as projectId,
|
|
|
+ distinct b.id as projectId,
|
|
|
b.project_name as projectName,
|
|
|
a.advertiser_id as advertiserId,
|
|
|
a.advertiser_name as advertiserName,
|
|
|
- a.media_id as mediaId
|
|
|
+ (SELECT media_id from ctop_project c where c.id=a.project_id limit 1) as mediaId
|
|
|
from
|
|
|
ctop_user_allocation a
|
|
|
left join ctop_project_member b on a.project_id = b.project_id
|