guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/RoleMapper.xml
@@ -19,8 +19,9 @@ <select id="selectRoles" resultType="map"> select <include refid="Base_Column_List" /> from sys_role sr.id, sr.num, sr.pid, sr.name, sr.deptid, sr.tips, sr.version,su.name as createBy from sys_role sr left join sys_user su on sr.create_by = su.id <if test="condition != null"> where name like CONCAT('%',#{condition},'%') </if>