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