Browse Source

修改排序值

plf 4 năm trước cách đây
mục cha
commit
f9142d83ff
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/main/resources/mapper/ProductMapper.xml

+ 1 - 0
src/main/resources/mapper/ProductMapper.xml

@@ -35,6 +35,7 @@
           </if>
         ORDER BY
           a.recommend DESC,
+          - a.sort DESC,
           a.addTime DESC
     </select>