소스 검색

fix(VoteActivity & Notice): sort issues.

eric 2 년 전
부모
커밋
3a7461d0b3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/resources/mapper/VoteActivityMapper.xml

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

@@ -32,6 +32,7 @@
         <if test="startTime != null and endTime != null">
             AND start_time &gt;= #{startTime} AND start_time &lt;= #{endTime}
         </if>
+        ORDER BY id DESC
     </select>
 
     <delete id="deleteByPrimaryKey" parameterType="integer">