From e9c1806141283804528aa010695f6b0f06803d1b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 21 Oct 2023 15:53:13 +0800 Subject: [PATCH] 一个商品领取一张卷, --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index a16b8d7..9fbc5f9 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -72,6 +72,9 @@ <if test="record.name != null and record.name != ''"> and b.name like CONCAT('%', CONCAT(#{record.name}, '%')) </if> + <if test="record.phone != null and record.phone != ''"> + and b.phone like CONCAT('%', CONCAT(#{record.phone}, '%')) + </if> <if test="record.startTime != null and record.startTime != ''"> and a.order_time >= #{record.startTime} </if> -- Gitblit v1.9.1