From 56c23e675277b127cf4a2d014434ddbcba75e827 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sun, 19 Jul 2020 18:33:21 +0800 Subject: [PATCH] 20200719 代码提交 --- src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml b/src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml index 305459b..c3cdf16 100644 --- a/src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml +++ b/src/main/resources/mapper/modules/ContractHoldOrderEntityMapper.xml @@ -9,6 +9,14 @@ contract_hold_order s LEFT JOIN member m ON m.id = s.member_id <where> + s.member_id IN ( + SELECT + id + FROM + member + WHERE + account_type = '1' + ) <if test="record != null" > <if test="record.account!=null and record.account!=''"> and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account}) -- Gitblit v1.9.1