Pārlūkot izejas kodu

修改排序值

plf 4 gadi atpakaļ
vecāks
revīzija
f9142d83ff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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>