<select id="queryPageList" resultType="org.whye.modules.xzfy.reconsiderPerson.entity.ReconsiderPerson">
SELECT
A.user_name as userName,
from sys_user A
left join reconsider_person B on A.id = B.user_id
left join sys_depart C on A.org_code = C.org_code
<where>
<if test="entity.userName != null and entity.userName != ''">
AND A.user_name LIKE CONCAT('%', #{entity.userName}, '%')
</if>
</where>
</select>