Explorar el Código

修改排序值

plf hace 4 años
padre
commit
f9142d83ff
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>