|
@@ -11,10 +11,10 @@
|
|
|
left join ctop_project project on login.project_id = project.id
|
|
|
where 1=1
|
|
|
<if test="userId!=null">
|
|
|
- and user_id = #{userId}
|
|
|
+ and login.user_id = #{userId}
|
|
|
</if>
|
|
|
<if test="loginType!=null">
|
|
|
- and login_type = #{loginType}
|
|
|
+ and login.login_type = #{loginType}
|
|
|
</if>
|
|
|
group by project_id
|
|
|
</select>
|