From e468d0b56e1c33f047bee84ca8c9a142c769fe16 Mon Sep 17 00:00:00 2001 From: gongzuming <gongzuming> Date: 星期四, 26 九月 2024 13:12:35 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master-v2' into master-v2 --- 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