Parcourir la source

修改排序值

plf il y a 4 ans
Parent
commit
f9142d83ff
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/main/resources/mapper/ProductMapper.xml

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

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