From cb5ddf074d60b72e35ee4bafaec95530f53d1839 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期六, 09 十二月 2023 08:59:34 +0800 Subject: [PATCH] 12.9 --- guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 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 8190b38..52f3240 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 @@ -54,12 +54,35 @@ and phone like CONCAT('%', #{phone}, '%') </if> </where> - limit #{index},#{size} </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 and audit_status = 2 + <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> + + + </select> + + <select id="listAuMedium" resultType="com.stylefeng.guns.modular.system.dto.Medium"> + SELECT id,insert_time as insertTime,nickname,company_name as companyName, + agent_licence_code as agentLicenceCode,wechat_qr_code as wechatQrCode,watch_app as watchapp,phone,status,audit_status as auditStatus,audit_note as auditNote + ,refuse_date as refuseDate from t_app_user <where> status != 3 @@ -76,7 +99,9 @@ and phone like CONCAT('%', #{phone}, '%') </if> </where> - limit #{index},#{size} + </select> + + </mapper> \ No newline at end of file -- Gitblit v1.7.1