From 0cea08afd27bcb6a6fc3228a9a26de137fc41f5f Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Thu, 11 Dec 2025 09:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=91=E6=8D=A2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/MkPointsGoodsMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash-service/market-service/src/main/resources/mapper/MkPointsGoodsMapper.xml b/cash-service/market-service/src/main/resources/mapper/MkPointsGoodsMapper.xml index 3a5e1c6c8..7d1ecc230 100644 --- a/cash-service/market-service/src/main/resources/mapper/MkPointsGoodsMapper.xml +++ b/cash-service/market-service/src/main/resources/mapper/MkPointsGoodsMapper.xml @@ -8,7 +8,7 @@ select goods.*, count(record.id) as boughtCount from mk_points_goods goods left join mk_points_goods_record record - on record.points_goods_id = goods.id and record.user_id = #{userId} and record.status != '已退款' + on record.points_goods_id = goods.id and record.user_id = #{userId} and record.status != '已退款' and record.is_del = 0 where goods.shop_id = #{shopId} and goods.del_flag = 0 and goods.status = 1