From c76d7b999210cc905c7f8713ba0f70a9811b1708 Mon Sep 17 00:00:00 2001 From: Gauthier LO Date: Thu, 1 Aug 2024 12:47:43 +0200 Subject: [PATCH] picking fee per item for overseas warehouse --- .../business/mapper/xml/LogisticChannelPriceMapper.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/mapper/xml/LogisticChannelPriceMapper.xml b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/mapper/xml/LogisticChannelPriceMapper.xml index 89bdd7df8..83cc06ce9 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/mapper/xml/LogisticChannelPriceMapper.xml +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/mapper/xml/LogisticChannelPriceMapper.xml @@ -88,6 +88,12 @@ FROM current_price WHERE effective_country = lcp.effective_country ) + OR + lcp.picking_fee_per_item != ( + SELECT picking_fee_per_item + FROM current_price + WHERE effective_country = lcp.effective_country + ) ) ORDER BY effective_date DESC LIMIT 1;