cloud-server-management/src/main/resources/mapper/UserMapper.xml
@@ -134,7 +134,8 @@ </select> <select id="searchUsers" resultType="com.dsh.guns.modular.system.model.UserListVO"> select t1.id,t1.name ,t1.phone ,t1.avatar,t1.birthday,t1.sex,t1.idCard,t1.status,t1.version ,t2.simplename as deptName from sys_user t1 ,t2.simplename as deptName, (select group_concat(r.name separator ',') from sys_role r where find_in_set(r.id, t1.roleid)) as roleName from sys_user t1 left join sys_dept t2 on t1.deptid = t2.id <where> <if test="query.name != null and query.name != ''">