luojunhui 1 mēnesi atpakaļ
vecāks
revīzija
3459ee74c3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      utils/sql_help.py

+ 1 - 1
utils/sql_help.py

@@ -17,7 +17,7 @@ class sqlCollect:
                 SELECT title, oss_path
                 SELECT title, oss_path
                 FROM video_end_screen_transformation_task
                 FROM video_end_screen_transformation_task
                 WHERE status = 0
                 WHERE status = 0
-                ORDER BY task_id ASC
+                ORDER BY task_id DESC
                 LIMIT 1;
                 LIMIT 1;
             """
             """
         data = MysqlHelper.get_values(sql)
         data = MysqlHelper.get_values(sql)