Explorar el Código

文章管理添加排序

bihuisong hace 5 meses
padre
commit
4a525a50bd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      zhjq-business/src/main/resources/mapper/ZhjqArticleMapper.xml

+ 1 - 0
zhjq-business/src/main/resources/mapper/ZhjqArticleMapper.xml

@@ -43,6 +43,7 @@
                 find_in_set(#{columnId},parent_id) ))
             </if>
         </where>
+        ORDER BY a.sort ASC, a.create_time DESC
     </select>
 
     <select id="selectZhjqArticleById" parameterType="Long"