From a9b1fa4b7126ea0a1cad1f804e970480771c11fd Mon Sep 17 00:00:00 2001 From: gongzuming <gongzuming> Date: 星期四, 26 九月 2024 13:12:30 +0800 Subject: [PATCH] 积分优惠券过期任务 --- src/main/resources/mapper/payment/OrderMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/payment/OrderMapper.xml b/src/main/resources/mapper/payment/OrderMapper.xml index 18894dc..4d7d43a 100644 --- a/src/main/resources/mapper/payment/OrderMapper.xml +++ b/src/main/resources/mapper/payment/OrderMapper.xml @@ -145,6 +145,9 @@ and oi.flower_name LIKE concat('%', #{condition.flowerName},'%') ) </if> + <if test="condition.warehouseLocationCode != null and condition.warehouseLocationCode != ''"> + AND q.warehouse_location_code LIKE concat('%', #{condition.warehouseLocationCode},'%') + </if> ORDER BY q.create_time desc, q.payment_time desc </select> -- Gitblit v1.9.3