From 076f5a4f0a7c5a4d3a6d3a1a61ff96a0091e3320 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 06 May 2023 15:04:21 +0800 Subject: [PATCH] 星级补贴逻辑修改 --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index 8316f7d..fb2e09e 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -47,6 +47,7 @@ select a.*, b.name memberName, b.bind_phone memberBindPhone, + b.account_login accountLogin, b.phone memberPhone, c.goods_name from mall_order_item c @@ -72,6 +73,9 @@ <if test="record.name != null and record.name != ''"> and b.name like CONCAT('%', CONCAT(#{record.name}, '%')) </if> + <if test="record.accountLogin != null and record.accountLogin != ''"> + and b.account_login like CONCAT('%', CONCAT(#{record.accountLogin}, '%')) + </if> <if test="record.startTime != null and record.startTime != ''"> and a.order_time >= #{record.startTime} </if> -- Gitblit v1.9.1