Преглед изворни кода

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

songyh пре 3 година
родитељ
комит
3668e19a38

+ 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>