|
@@ -82,12 +82,12 @@
|
|
|
IFNULL(t3.auth_name,'') as 'authName',
|
|
|
IFNULL(t1.account_id,'') as 'accountId',
|
|
|
IFNULL(t2.template_id,'') as 'templateId',
|
|
|
- t1.unit_name
|
|
|
+ t1.unit_name as 'unitName'
|
|
|
FROM ctop_kuaishou_directional_package_rel t2
|
|
|
LEFT JOIN ( SELECT account_id,unit_id,unit_name FROM ctop_kuaishou_group
|
|
|
where 1=1
|
|
|
<if test="accountId!=null">
|
|
|
- account_id = #{accountId}
|
|
|
+ and account_id = #{accountId}
|
|
|
</if>
|
|
|
) t1 ON t1.unit_id = t2.rel_id
|
|
|
LEFT JOIN ctop_user_allocation t3 ON t1.account_id = t3.account_id
|