From 9cfdd52d309583a74346167d3f3132452559a72b Mon Sep 17 00:00:00 2001
From: 15004070936 <1097449274@qq.com>
Date: Fri, 8 May 2026 16:56:16 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-system/src/main/resources/mapper/mall/ProductMapper.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ruoyi-system/src/main/resources/mapper/mall/ProductMapper.xml b/ruoyi-system/src/main/resources/mapper/mall/ProductMapper.xml
index 0d4909f..ed84984 100644
--- a/ruoyi-system/src/main/resources/mapper/mall/ProductMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/mall/ProductMapper.xml
@@ -51,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.detail_html,
a.detail_mobile_html,
a.is_course,
+ a.create_by, a.create_time, a.update_by, a.update_time,
b.type_name as product_category_name,
c.name as brand_name
from mall_product a left join mall_product_category b on a.category_id = b.id
@@ -65,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.store_id = #{storeId}
and a.tenant_id = #{tenantId}
- order a.sort ASC
+ order by a.sort desc