|
|
|
|
|
|
|
|
<select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin"> |
|
|
<select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin"> |
|
|
select * from ls_admin where mark=1 |
|
|
select * from ls_admin where mark=1 |
|
|
<if test="param.realname != null and param.realname != ''"> |
|
|
<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> |
|
|
<if test="param.driverArea != null"> |
|
|
<if test="param.driverArea != null"> |
|
|
and driver_area = #{param.driverArea} |
|
|
and driver_area = #{param.driverArea} |