From f15e1c9ed8f9b04dfd129f21e5e25a44aaba7f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BA=AE?= Date: Tue, 16 Sep 2025 18:21:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E4=B8=8B=E6=8B=89=E6=A1=86=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/business/TbPromotionMaterialMapper.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bonus-business/src/main/resources/mapper/business/TbPromotionMaterialMapper.xml b/bonus-business/src/main/resources/mapper/business/TbPromotionMaterialMapper.xml index 2027a70..52cfee2 100644 --- a/bonus-business/src/main/resources/mapper/business/TbPromotionMaterialMapper.xml +++ b/bonus-business/src/main/resources/mapper/business/TbPromotionMaterialMapper.xml @@ -28,10 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select aaa.id, aaa.name, aaa.type_id, aaa.type_name, aaa.image, aaa.version, aaa.description, su.user_name as create_user, aaa.create_time, aaa.update_user, aaa.update_time, aaa.product_name from tb_promotion_material aaa left join sys_user su on su.user_id = aaa.create_user + left join tb_promotion_material_product ccc on ccc.material_id = aaa.id where aaa.del_flag = 0 and aaa.name like concat('%', #{name}, '%') and aaa.type_id = #{typeId} and aaa.type_name like concat('%', #{typeName}, '%') + and ccc.product_id = #{productId}