Преглед на файлове

修改头条的素材类型清洗任务

songyh преди 3 години
родител
ревизия
3668e19a38
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/mapper/xml/ByteDanceVideoInfoMapper.xml

+ 2 - 2
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/mapper/xml/ByteDanceVideoInfoMapper.xml

@@ -57,13 +57,13 @@
         update
             ctop_bytedance_video_info
         set type = 2
-        where height > width and type is null
+        where height > width
         and (height between 1280 and 2560)  and (width between 720 and 1440)
     </update>
     <update id="updateVideoHorizonType">
         update ctop_bytedance_video_info
             set type = 1
-        where height &lt; width and type is null
+        where height &lt; width
         and (width between 1280 and 2560)  and (height between 720 and 1440)
     </update>
 </mapper>