Przeglądaj źródła

fix(VoteActivity & Notice): sort issues.

eric 2 lat temu
rodzic
commit
3b8a886c9a
1 zmienionych plików z 1 dodań i 0 usunięć
  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">