|  |  |  | @ -21,6 +21,7 @@ import com.glxp.api.res.PageSimpleResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.res.system.SyncDataSetResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.sync.*; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.util.BeanCopyUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.util.DateUtil; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.util.RedisUtil; | 
			
		
	
		
			
				
					|  |  |  |  | import lombok.RequiredArgsConstructor; | 
			
		
	
		
			
				
					|  |  |  |  | import lombok.extern.slf4j.Slf4j; | 
			
		
	
	
		
			
				
					|  |  |  | @ -211,7 +212,14 @@ public class SpsSyncExportStatusController { | 
			
		
	
		
			
				
					|  |  |  |  |         if (syncDataSetEntity.getSyncTime() == null) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ResultVOUtils.error(ResultEnum.NOT_NETWORK.getCode(), "缺少初始化数据"); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         switch (req.getExportType()){ | 
			
		
	
		
			
				
					|  |  |  |  |             case IO_ORDER: | 
			
		
	
		
			
				
					|  |  |  |  |                 heartService.uploadAllBusOrder(DateUtil.formatDateTime(req.getSyncTime())); | 
			
		
	
		
			
				
					|  |  |  |  |                 heartService.uploadAllOrder(DateUtil.formatDateTime(req.getSyncTime())); | 
			
		
	
		
			
				
					|  |  |  |  |                 break; | 
			
		
	
		
			
				
					|  |  |  |  |             default: | 
			
		
	
		
			
				
					|  |  |  |  |         heartService.pushData(syncDataSetEntity, req.getSyncTime(), req.getExportType()); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |