|
@@ -201,10 +201,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<select id="getAgentList" resultType="com.miaxis.common.core.domain.vo.AgentVO">
|
|
<select id="getAgentList" resultType="com.miaxis.common.core.domain.vo.AgentVO">
|
|
- select t.user_id,t.user_name from sys_user t where
|
|
|
|
|
|
+ select t.user_id,t.nick_name as user_name from sys_user t where
|
|
1 =1
|
|
1 =1
|
|
<if test="userName != null and userName != ''">
|
|
<if test="userName != null and userName != ''">
|
|
- AND user_name like concat('%', #{userName}, '%')
|
|
|
|
|
|
+ AND nick_name like concat('%', #{userName}, '%')
|
|
</if>
|
|
</if>
|
|
and exists (select 1 from sys_user_role where role_id =#{roleId} and user_id = t.user_id)
|
|
and exists (select 1 from sys_user_role where role_id =#{roleId} and user_id = t.user_id)
|
|
|
|
|