From 9c4f4152a19a0c4b0ce861381ab35eeaf5cda558 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 10 Jan 2025 13:53:05 +0800
Subject: [PATCH] refactor(mall): 活动列表按照创建时间降序排序

---
 src/main/resources/mapper/modules/MallMemberCollectionMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMemberCollectionMapper.xml b/src/main/resources/mapper/modules/MallMemberCollectionMapper.xml
index c6c80e1..42d63b7 100644
--- a/src/main/resources/mapper/modules/MallMemberCollectionMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberCollectionMapper.xml
@@ -10,7 +10,7 @@
              ,goods.present_price
              ,goods.is_sale
         from mall_member_collection collection
-            inner join mall_goods goods on collection.goods_id=goods.ID
+            inner join mall_goods goods on collection.goods_id=goods.ID and goods.is_sale = 1
         <where>
             <if test="record != null">
                 <if test="record.memberId != null">

--
Gitblit v1.9.1