plf 4 лет назад
Родитель
Сommit
f9142d83ff
1 измененных файлов с 1 добавлено и 0 удалено
  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>