From 49090447988eb021f7cda6969bfc6fada41e3837 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 22 Mar 2023 11:33:58 +0800
Subject: [PATCH] 后台修改

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

diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml
index 6c70925..8ff9ba8 100644
--- a/src/main/resources/mapper/modules/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -74,6 +74,7 @@
                 a.present_price,
                 a.score,
                 a.is_hot,
+                a.sort_cnt,
                 min(b.present_price) price,
                 sum(b.sku_volume) saleVolume
             from mall_goods a
@@ -110,7 +111,7 @@
 <!--                order by a.is_hot, a.saleVolume desc, a.id-->
 <!--            </if>-->
             <if test="record.sortType == 1">
-                order by a.is_normal, a.sort_cnt asc
+                order by a.sort_cnt asc
             </if>
             <if test="record.sortType == 2">
                 order by a.saleVolume desc

--
Gitblit v1.9.1