| | |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="phone != null"> |
| | | phone = '#{phone,jdbcType=VARCHAR}' |
| | | phone = #{phone,jdbcType=VARCHAR} |
| | | </if> |
| | | </trim> |
| | | </select> |
| | |
| | | name like concat('%', #{name}, '%') and |
| | | </if> |
| | | <if test="phone != null"> |
| | | phone = '#{phone,jdbcType=VARCHAR}' |
| | | phone = #{phone,jdbcType=VARCHAR} |
| | | </if> |
| | | </trim> |
| | | order by id DESC |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start}, #{count} |
| | | #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} |
| | | </if> |
| | | </trim> |
| | | </select> |