From 22a1ada1fefc901e391279e01a251aa3c471e96a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 18 Jun 2020 17:58:00 +0800 Subject: [PATCH] 20200618 代码提交 --- src/main/resources/mapper/modules/MemberQuickBuySaleMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MemberQuickBuySaleMapper.xml b/src/main/resources/mapper/modules/MemberQuickBuySaleMapper.xml index 1e6caa7..d6b9f41 100644 --- a/src/main/resources/mapper/modules/MemberQuickBuySaleMapper.xml +++ b/src/main/resources/mapper/modules/MemberQuickBuySaleMapper.xml @@ -9,7 +9,7 @@ s.order_type = 'B' <if test="record != null" > <if test="record.account!=null and record.account!=''"> - and (m.phone = #{record.account} or m.email = #{record.account} or s.member_id=#{record.account}) + and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account}) </if> <if test="record.orderStatus!=null and record.orderStatus!= 0" > and s.order_status = #{record.orderStatus} @@ -32,6 +32,7 @@ s.order_status orderStatus, m.name, m.account, + a.invite_id inviteId, m.payment_qrcode paymentQrcode, m.bank, m.payment_type paymentType, @@ -44,7 +45,7 @@ s.order_type = 'S' <if test="record != null" > <if test="record.account!=null and record.account!=''"> - and (a.phone = #{record.account} or a.email = #{record.account} or s.member_id=#{record.account}) + and (a.phone = #{record.account} or a.email = #{record.account} or a.invite_id=#{record.account}) </if> <if test="record.orderStatus!=null and record.orderStatus!= 0" > and s.order_status = #{record.orderStatus} -- Gitblit v1.9.1