Bläddra i källkod

删除游戏创意 加 catch

zhaoxian 10 månader sedan
förälder
incheckning
d0d99f6fd2

+ 6 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/DelKuaiShouVideoGetServiceImpl.java

@@ -114,8 +114,12 @@ public class DelKuaiShouVideoGetServiceImpl extends ServiceImpl<DelKuaiShouVideo
 
     @Override
     public void getCreateInfo(Long accountId, String photoName) {
-        List<String> phototIds = videoGetMapper.queryPhototIdsByPhotoName(accountId, photoName);
-        videoRelateCreatives(accountId, phototIds);
+        try {
+            List<String> phototIds = videoGetMapper.queryPhototIdsByPhotoName(accountId, photoName);
+            videoRelateCreatives(accountId, phototIds);
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
     }
 
     public void videoRelateCreatives(Long accountId, List<String> photoIds) {