From f5cf9fced2de464d80b4811fcfc07f1e82544de3 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Fri, 17 Oct 2025 12:11:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/material/push/MybatisGenerator.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml index 7c9c0b1f..1476d702 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml @@ -51,6 +51,7 @@ bp.pro_id is not null and pmc.type = 2 and (pmc.LEASE_MONEY > 0 or pmc.LOST_MONEY > 0 or pmc.REPAIR_MONEY > 0 or pmc.SCRAP_MONEY > 0) + and (pmc.CONSUME_MONEY = 0 or pmc.CONSUME_MONEY is null) AND pmia.push_status = #{status}