ソースを参照

修改排序值

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>