|  |  |  | @ -1,5 +1,6 @@ | 
			
		
	
		
			
				
					|  |  |  |  | package com.glxp.api.service.collect; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import cn.hutool.core.util.StrUtil; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.common.res.BaseResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.common.util.ResultVOUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.constant.BusTypeConstant; | 
			
		
	
	
		
			
				
					|  |  |  | @ -35,16 +36,21 @@ public class DownloadFactory { | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse downloadOrder(CollectOrderRequest collectOrderRequest) { | 
			
		
	
		
			
				
					|  |  |  |  |         String busType = collectOrderRequest.getBusType(); | 
			
		
	
		
			
				
					|  |  |  |  |         if (busType == null) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (StrUtil.isBlank(busType)) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ResultVOUtils.error("下载失败,未配置业务类型"); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (busType.startsWith("YPCF")) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ypcf002Download.downloadOrder(collectOrderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         } else if (busType.equals(BusTypeConstant.QXCF001.getBusType())) { | 
			
		
	
		
			
				
					|  |  |  |  |         } else | 
			
		
	
		
			
				
					|  |  |  |  |             if (busType.equals(BusTypeConstant.QXCF001.getBusType())) { | 
			
		
	
		
			
				
					|  |  |  |  |             return qxcf001Download.downloadOrder(collectOrderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         } else if (busType.contains("SC")) { | 
			
		
	
		
			
				
					|  |  |  |  |         } else | 
			
		
	
		
			
				
					|  |  |  |  |             if (busType.contains("SC")) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ioCollectOrderService.importUdi(collectOrderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |         } else | 
			
		
	
		
			
				
					|  |  |  |  |         { | 
			
		
	
		
			
				
					|  |  |  |  |             return thrOrderDownload.downloadOrder(collectOrderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |