From 1300cd0e47d9f0890d972bafeba888d10395ed38 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期五, 08 十二月 2023 09:08:25 +0800 Subject: [PATCH] 12.8 --- guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml b/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml index a5638ed..8190b38 100644 --- a/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml +++ b/guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml @@ -40,6 +40,7 @@ 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> @@ -57,4 +58,25 @@ </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> \ No newline at end of file -- Gitblit v1.7.1