|  |  | @ -810,6 +810,18 @@ public class SpsSyncDownloadService { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //todo 合同实体
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //            List<DeviceCheckDetailEntity> deviceCheckDetailEntities = deviceCheckDetailService.list(Wrappers.lambdaQuery(DeviceCheckDetailEntity.class)
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                    .le(!ge && (boolean) map.get("isNew"), DeviceCheckDetailEntity::getUpdateTime, now)
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                    .between(ge, DeviceCheckDetailEntity::getUpdateTime, syncTime, now)
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                    .between(!ge && !(boolean) map.get("isNew"), DeviceCheckDetailEntity::getUpdateTime
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                            , map.get("oldDate"), now)
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //            );
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //            if (CollectionUtil.isNotEmpty(deviceCheckDetailEntities)) {
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                remark.append("合同:").append(deviceCheckDetailEntities.size()).append("条\n");
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                jsonMap.put(DeviceCheckDetailEntity.class.getSimpleName(), deviceCheckDetailEntities);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //            }
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (jsonMap.size() > 0) { |  |  |  |             if (jsonMap.size() > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 jsonMap.put(SYNC_REMARK, remark.toString()); |  |  |  |                 jsonMap.put(SYNC_REMARK, remark.toString()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (!createFile) { |  |  |  |                 if (!createFile) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |