yaozhixue 1 年之前
父节点
当前提交
f1b1507d3d
共有 1 个文件被更改,包括 4 次插入6 次删除
  1. 4 6
      src/main/java/com/zfire/jiasm/syncdata/service/impl/DetailDownloadServiceImpl.java

+ 4 - 6
src/main/java/com/zfire/jiasm/syncdata/service/impl/DetailDownloadServiceImpl.java

@@ -146,7 +146,7 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
 				+ " c.download_task_type_name "
 				+ " FROM itf_gree_to_fa_download_task_list a,itf_gree_to_fa_download_task_type c "
 				+ " where a.download_task_type=c.download_task_type "
-				+ " and a.id=14042 and a.download_status=0 and download_times = 6");
+				+ " and a.id=14042 ");
 		return result;
 	}
 	
@@ -638,11 +638,9 @@ public class DetailDownloadServiceImpl implements DetailDownloadService {
 				return Boolean.TRUE;
 			}
 
-			if (CollectionUtils.isEmpty(irds)){
-				irds.stream().forEach(event->{
-					orderRepairDetailIds.add(event.getId());
-				});
-			}
+			irds.stream().forEach(event->{
+				orderRepairDetailIds.add(event.getId());
+			});
 
 
 			irdsMap = irds.stream().collect(Collectors.groupingBy(OrderRepairDetail::getBrandWxjsguid));