소스 검색

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">