| | |
| | | AND user.supperAdmin != 1 |
| | | AND user.deleted = 0 |
| | | |
| | | <if test = "name != null and name !=''"> |
| | | AND user.name like CONCAT('%',#{name},'%') |
| | | <if test = "userName != null and userName !=''"> |
| | | AND user.name like CONCAT('%',#{userName},'%') |
| | | </if> |
| | | |
| | | <if test = "phone != null and phone !=''"> |
| | |
| | | AND user.supperAdmin != 1 |
| | | AND user.deleted = 0 |
| | | |
| | | <if test = "name != null and name !=''"> |
| | | AND user.name like CONCAT('%',#{name},'%') |
| | | <if test = "userName != null and userName !=''"> |
| | | AND user.name like CONCAT('%',#{userName},'%') |
| | | </if> |
| | | |
| | | <if test = "phone != null and phone !=''"> |
| | |
| | | </if> |
| | | </where> |
| | | ORDER BY user.id DESC |
| | | <if test="pageCurr != null and pageSize != null"> |
| | | LIMIT ${pageCurr}, ${pageSize} |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} |
| | | </if> |
| | | </trim> |
| | | </select> |
| | | |
| | | <!--根据用户编号获取角色ID列表--> |