From 0c95f99dae780bc2552c27489ac5468d003239f5 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 21 Jul 2020 16:31:07 +0800 Subject: [PATCH] 20200721 代码提交 --- src/main/resources/mapper/modules/MemberMapper.xml | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/main/resources/mapper/modules/MemberMapper.xml b/src/main/resources/mapper/modules/MemberMapper.xml index 752c68c..1062c1a 100644 --- a/src/main/resources/mapper/modules/MemberMapper.xml +++ b/src/main/resources/mapper/modules/MemberMapper.xml @@ -40,22 +40,13 @@ member m LEFT JOIN member_authentication a ON m.id = a.member_id <where> - FIND_IN_SET('22015141', m.referer_ids) + ( FIND_IN_SET('22015141', m.referer_ids) or m.id = 10) <if test="record != null" > - <if test="record.startTime!=null"> - and m.create_time >=#{record.startTime} - </if> - <if test="record.endTime!=null"> - and #{record.endTime} >= m.create_time - </if> <if test="record.account!=null and record.account!=''"> and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account}) </if> - <if test="record.accountStatus!=null"> - and m.account_status = #{record.accountStatus} - </if> - <if test="record.accountType != null" > - and m.account_type = #{record.accountType} + <if test="record.isTest!=null and record.isTest!=''"> + and m.account_type= #{record.isTest} </if> <if test="record.certifyStatus != null and record.certifyStatus!=''"> and m.certify_status = #{record.certifyStatus} -- Gitblit v1.9.1