From 4483b4ef337172a8d1522b63e57c9fbd3b38b468 Mon Sep 17 00:00:00 2001
From: Cui Zhi Feng <7426394+wuxixiaocui@user.noreply.gitee.com>
Date: 星期四, 26 九月 2024 15:44:23 +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