Ver Fonte

fix sql

zhaotx há 6 meses atrás
pai
commit
b0ce27febc

+ 1 - 1
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/mapper/xml/PromoteLinkRefreshMapper.xml

@@ -53,7 +53,7 @@
                        LEFT JOIN (select task_id, advertiser_id, `status` from deepthink.bytedance_advertiser_task_link where create_time >= #{startTime} and create_time <= #{endTime}) t6
                                  ON t1.task_id = t6.task_id AND t1.advertiser_id = t6.advertiser_id
                        LEFT JOIN (select standard_movie_id, standard_movie_name from deepthink.all_moive group by standard_movie_id, standard_movie_name) t7
-                                 on t1.movie_id = t7.standard_movie_id
+                                 on cast(t1.movie_id as char) = t7.standard_movie_id
              ) t
     </update>