浏览代码

update sql

liqian 3 年之前
父节点
当前提交
42142cd7a8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      utils.py

+ 2 - 2
utils.py

@@ -122,7 +122,7 @@ def filter_video_status(video_ids):
               "AND applet_rec_status IN (1, -6) " \
               "AND open_status = 1 " \
               "AND payment_status = 0 " \
-              "AND encryption_status IS NULL " \
+              "AND encryption_status != 5 " \
               "AND transcoding_status = 3 " \
               "AND video_id IN ({});".format(config_.VIDEO_STATUS, video_ids[0])
     else:
@@ -133,7 +133,7 @@ def filter_video_status(video_ids):
               "AND applet_rec_status IN (1, -6) " \
               "AND open_status = 1 " \
               "AND payment_status = 0 " \
-              "AND encryption_status IS NULL " \
+              "AND encryption_status != 5 " \
               "AND transcoding_status = 3 " \
               "AND video_id IN {};".format(config_.VIDEO_STATUS, tuple(video_ids))