Bladeren bron

update sql

liqian 3 jaren geleden
bovenliggende
commit
42142cd7a8
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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))