소스 검색

修改排序值

plf 4 년 전
부모
커밋
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>