@@ -5,7 +5,7 @@ | |||
<select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin"> | |||
select * from ls_admin where mark=1 | |||
<if test="param.realname != null and param.realname != ''"> | |||
and realname like CONCAT('%',#{param.realname},'%') | |||
and (realname like CONCAT('%',#{param.realname},'%') or username like CONCAT('%',#{param.realname},'%')) | |||
</if> | |||
<if test="param.driverArea != null"> | |||
and driver_area = #{param.driverArea} |