From 087b4ded0394d3f9ebd80b9c8eaa781f5ac2889c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Wed, 10 Jan 2024 16:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml index 96cbe3bf3..78d808298 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/OilOrderMapper.xml @@ -354,6 +354,7 @@ LEFT JOIN active_discount_child adc ON ad.id = adc.active_discount_id where ad.store_id = #{storeId} and adc.amount <= #{amount} + and ad.status = 0