|
|
|
@ -66,8 +66,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
left join sys_user_datasource sud on sd.id = sud.datasource_id
|
|
|
|
|
left join sys_user su on su.user_id = sud.user_id
|
|
|
|
|
where sud.user_id is not null
|
|
|
|
|
<if test="nickName != null and nickName != ''">
|
|
|
|
|
AND su.nick_name like concat('%', #{nickName}, '%')
|
|
|
|
|
<if test="userName != null and userName != ''">
|
|
|
|
|
AND su.nick_name like concat('%', #{userName}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="datasourceId != null and datasourceId != ''">
|
|
|
|
|
AND sd.id = #{datasourceId}
|
|
|
|
|