| | |
| | | SELECT id,insert_time,nickname,phone,profile_photo,user_type,wechat_qr_code,watch_app,phone,status |
| | | from t_app_user |
| | | <where> |
| | | status != 3 |
| | | <if test="null != nickname and '' != nickname"> |
| | | and nickname like CONCAT('%', #{nickname}, '%') |
| | | </if> |
| | |
| | | |
| | | |
| | | </select> |
| | | <select id="listMedium" resultType="com.stylefeng.guns.modular.system.dto.Medium"> |
| | | SELECT id,insert_time,nickname,company_name,agent_licence_code,wechat_qr_code,watch_app,phone,status |
| | | from t_app_user |
| | | <where> |
| | | status != 3 |
| | | <if test="null != nickname and '' != nickname"> |
| | | and nickname like CONCAT('%', #{nickname}, '%') |
| | | </if> |
| | | <if test="null != userType"> |
| | | and user_type = #{userType} |
| | | </if> |
| | | <if test="null != status"> |
| | | and status = #{status} |
| | | </if> |
| | | <if test="null != phone and '' != phone"> |
| | | and phone like CONCAT('%', #{phone}, '%') |
| | | </if> |
| | | </where> |
| | | limit #{index},#{size} |
| | | |
| | | </select> |
| | | </mapper> |