Explorar el Código

fix(VoteActivity & Notice): sort issues.

eric hace 2 años
padre
commit
3b8a886c9a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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">