|
@@ -33,14 +33,14 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getUserIdListByProjectId" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
- SELECT t2.user_id as 'userId',
|
|
|
- t2.account_id as 'accountId',
|
|
|
- t2.user_name as 'userName'
|
|
|
- from ctop_user_allocation t1 LEFT JOIN
|
|
|
- ctop_kuaishou_advertiser_base_info t2
|
|
|
+ SELECT t1.user_id as 'userId',
|
|
|
+ t1.account_id as 'accountId',
|
|
|
+ t1.user_name as 'userName'
|
|
|
+ from ctop_kuaishou_advertiser_base_info t1 LEFT JOIN
|
|
|
+ ctop_user_allocation t2
|
|
|
ON t1.account_id = t2.account_id
|
|
|
- WHERE t1.project_id = #{projectId}
|
|
|
- GROUP BY t2.user_id
|
|
|
+ WHERE t2.project_id = #{projectId}
|
|
|
+ GROUP BY t1.user_id;
|
|
|
</select>
|
|
|
|
|
|
|