From 23c4967b4cb8dbce8277f830f7152d315c5a4a57 Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期一, 25 十二月 2023 09:25:17 +0800 Subject: [PATCH] 12.25 --- guns-management/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AppUserMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 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 52f3240..2297a2d 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 @@ -37,7 +37,7 @@ order by houseCount desc </select> <select id="listHost" resultType="com.stylefeng.guns.modular.system.dto.Host"> - SELECT id,insert_time,nickname,phone,profile_photo,user_type,wechat_qr_code,watch_app,phone,status + SELECT id,insert_time as insertTime,nickname,phone,profile_photo as profilePhoto,user_type as userType,wechat_qr_code as wechatQrCode,watch_app as watchApp,phone,status from t_app_user <where> status != 3 @@ -54,14 +54,14 @@ and phone like CONCAT('%', #{phone}, '%') </if> </where> - + ORDER BY insert_time desc </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 + 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 from t_app_user <where> - status != 3 and audit_status = 2 + status != 3 and auth = 2 <if test="null != nickname and '' != nickname"> and nickname like CONCAT('%', #{nickname}, '%') </if> @@ -81,11 +81,11 @@ <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 + agent_licence_code as agentLicenceCode,wechat_qr_code as wechatQrCode,watch_app as watchApp,phone,status,auth as auditStatus,audit_note as auditNote ,refuse_date as refuseDate from t_app_user <where> - status != 3 + status != 3 and auth != 0 <if test="null != nickname and '' != nickname"> and nickname like CONCAT('%', #{nickname}, '%') </if> @@ -93,7 +93,7 @@ and user_type = #{userType} </if> <if test="null != status"> - and status = #{status} + and audit_status = #{status} </if> <if test="null != phone and '' != phone"> and phone like CONCAT('%', #{phone}, '%') -- Gitblit v1.7.1