|
|
@@ -4,8 +4,8 @@ |
|
|
|
|
|
|
|
<select id="getAdminList" resultType="com.taauav.front.entity.UserAdmin"> |
|
|
|
select * from user_admin where mark=1 |
|
|
|
<if test="param.realname != null and param.realname != ''"> |
|
|
|
and (realname like CONCAT('%',#{param.realname},'%') or username like CONCAT('%',#{param.realname},'%')) |
|
|
|
<if test="param.keywords != null and param.keywords != ''"> |
|
|
|
and (realname like CONCAT('%',#{param.keywords},'%') or username like CONCAT('%',#{param.keywords},'%')) |
|
|
|
</if> |
|
|
|
<if test="param.driverArea != null"> |
|
|
|
and driver_area = #{param.driverArea} |
|
|
@@ -13,6 +13,10 @@ |
|
|
|
<if test="param.authGroup != null and param.authGroup != ''"> |
|
|
|
and find_in_set(#{param.authGroup},auth_group) |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="param.company != null and param.company != ''"> |
|
|
|
and company like CONCAT('%',#{param.company},'%') |
|
|
|
</if> |
|
|
|
order by id desc |
|
|
|
</select> |
|
|
|
|