瀏覽代碼

fix(VoteActivity & Notice): sort issues.

eric 2 年之前
父節點
當前提交
3b8a886c9a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/NoticeMapper.xml

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

@@ -65,6 +65,7 @@
                 type = #{type}
             </if>
         </where>
+        ORDER BY id DESC
     </select>
 
     <delete id="deleteByPrimaryKey" parameterType="integer">