From c25b0632e4a360f7499f1c79ff1d70a67919e008 Mon Sep 17 00:00:00 2001 From: gongzuming <gongzuming> Date: 星期二, 29 十月 2024 11:45:53 +0800 Subject: [PATCH] 重复点击问题 --- src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml b/src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml index e16fb0b..50062c8 100644 --- a/src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml +++ b/src/main/resources/mapper/flower/FlowerMarkupSpMapper.xml @@ -16,7 +16,7 @@ join t_flower_markup_sp sp on sp.flower_id = f.id and sp.partner_id = #{partnerId} left join t_supplier_info s on s.id = f.supplier_id left join t_flower_category c on f.category = c.id - WHERE f.deleted = 0 AND sp.fee > 0 + WHERE f.deleted = 0 <if test="condition.name != null and condition.name != ''"> AND f.name LIKE concat('%', #{condition.name},'%') </if> @@ -33,6 +33,9 @@ ) ) </if> + <if test="condition.supplierName != null and condition.supplierName != ''"> + AND s.name LIKE concat('%', #{condition.supplierName},'%') + </if> <if test="condition.isFee != null"> <choose> <when test="condition.isFee == 'markup'"> -- Gitblit v1.9.3