liyuyi@c-top.com.cn 4 rokov pred
rodič
commit
7a94211db5

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/mapper/xml/KuaiShouVideoGetMapper.xml

@@ -66,7 +66,7 @@
         and signature in
         (
         select
-        material.signature
+            daily_material.signature
         from
         ctop_kuaishou_report_daily_material daily_material
         inner join

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaiShouVideoGetServiceImpl.java

@@ -143,7 +143,7 @@ public class KuaiShouVideoGetServiceImpl extends ServiceImpl<KuaiShouVideoGetMap
         }
         if(null!=newVideoCnt && newVideoCnt>0){
             queryWrapper.orderByDesc("stat_date");
-            queryWrapper.last("limit ${newVideoCnt}");
+            queryWrapper.last("limit " + newVideoCnt);
         }
         return this.list(queryWrapper);
     }