|
@@ -16,7 +16,9 @@
|
|
|
FROM ctop_kuaishou_channel t1
|
|
|
LEFT JOIN sys_user t2 ON t1.user_id = t2.id
|
|
|
where account_id is not null
|
|
|
+ <if test="userId != null">
|
|
|
and t1.user_id = #{userId}
|
|
|
+ </if>
|
|
|
<if test="projectId != null">
|
|
|
and project_id = #{projectId}
|
|
|
</if>
|
|
@@ -40,7 +42,9 @@
|
|
|
FROM ctop_kuaishou_channel t1
|
|
|
LEFT JOIN sys_user t2 ON t1.user_id = t2.id
|
|
|
where account_id is null
|
|
|
- and t1.user_id = #{userId}
|
|
|
+ <if test="userId != null">
|
|
|
+ and t1.user_id = #{userId}
|
|
|
+ </if>
|
|
|
<if test="projectId != null">
|
|
|
and project_id = #{projectId}
|
|
|
</if>
|