From e588949e7ca72a90cdfed91a00dc187488bebc5f Mon Sep 17 00:00:00 2001 From: mashuai Date: Tue, 27 Jan 2026 17:05:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/material/basic/ComplexQueryMapper.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml index dcd9a1e5..4ef4bf49 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml @@ -88,10 +88,7 @@ ) mtm ON mt3.parent_id = mtm.type_id WHERE - sai.`status` = '0' and sai.`is_slt` = '0' - AND (sai.source = 1 OR sai.source is NULL) - AND sai.end_time IS NULL - AND sai.back_id IS NULL + sai.is_slt = '0' and bp.external_id = #{externalId} @@ -1709,6 +1706,7 @@ LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id WHERE sai.`status` = '0' and sai.`is_slt` = '0' + AND (sai.source = 1 OR sai.source is NULL) AND sai.end_time IS NULL AND sai.back_id IS NULL