|  |  | @ -273,7 +273,9 @@ public class ThrProductsServiceImpl extends ServiceImpl<ThrProductsDao, ThrProdu | 
			
		
	
		
		
			
				
					
					|  |  |  |                         thrProductsEntity.setCreateTime(new Date()); |  |  |  |                         thrProductsEntity.setCreateTime(new Date()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         thrProductsEntity.setUpdateTime(new Date()); |  |  |  |                         thrProductsEntity.setUpdateTime(new Date()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         if (StrUtil.isEmpty(item.getSpec())) { |  |  |  |                         if (StrUtil.isEmpty(item.getSpec())) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             thrProductsEntity.setSpec(item.getStandard()); |  |  |  |                             if (StrUtil.isNotEmpty(item.getStandard())){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 thrProductsEntity.setSpec(item.getStandard()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
		
		
			
				
					
					|  |  |  |                         thrProductsEntity.setId(IdUtil.getSnowflakeNextId()); |  |  |  |                         thrProductsEntity.setId(IdUtil.getSnowflakeNextId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         thrProductsEntity.setThirdSysFk(filterThrProductsRequest.getThirdSys()); |  |  |  |                         thrProductsEntity.setThirdSysFk(filterThrProductsRequest.getThirdSys()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -290,6 +292,11 @@ public class ThrProductsServiceImpl extends ServiceImpl<ThrProductsDao, ThrProdu | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 // 检查 list.size() 是否大于 1000
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (list.size() > 500) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     log.error("List size exceeds 1000, stopping the loop." + list.size()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     break; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 //total = -666 表示出错,-555表示数据已经被过滤,可以进行下一页下载
 |  |  |  |                 //total = -666 表示出错,-555表示数据已经被过滤,可以进行下一页下载
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if ((list.size() >= limit && !baseResponse.getData().getTotal().equals(-666)) || IntUtil.value(baseResponse.getData().getTotal()) == -555) { |  |  |  |                 if ((list.size() >= limit && !baseResponse.getData().getTotal().equals(-666)) || IntUtil.value(baseResponse.getData().getTotal()) == -555) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     page++; |  |  |  |                     page++; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |