浏览代码

update VideoPostMapper.xml findAdminVideoByPage

reghao 3 月之前
父节点
当前提交
86e45d3854
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      content/content-service/src/main/resources/mapper/vod/VideoPostMapper.xml

+ 1 - 1
content/content-service/src/main/resources/mapper/vod/VideoPostMapper.xml

@@ -225,7 +225,7 @@
                 and match(title) against(#{videoQuery.title})
             </if>
         </where>
-        order by #{videoQuery.orderBy} #{videoQuery.orderDirection}
+        order by publish_at desc
     </select>
 
     <resultMap id="videoPostCard" type="cn.reghao.tnb.content.api.dto.VideoPostCard">