|  |  |  | @ -242,7 +242,6 @@ public class IoCollectOrderBackupService extends ServiceImpl<IoCollectOrderBacku | 
			
		
	
		
			
				
					|  |  |  |  |             List<IoCollectOrderBackup> collectOrderList = new ArrayList<>(); | 
			
		
	
		
			
				
					|  |  |  |  |             collectOrderList.add(collectOrder); | 
			
		
	
		
			
				
					|  |  |  |  |             orderRequest.setCollectOrderList(collectOrderList); | 
			
		
	
		
			
				
					|  |  |  |  |             BaseResponse<BasicSkPrescribeResponse> baseResponse = erpBasicClient.postOrder(orderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |             // 判断此单据 有没有码已经上传过了一个有上传就进行错误返回
 | 
			
		
	
		
			
				
					|  |  |  |  |             String paramValue = systemParamConfigService.selectValueByParamKey("checkCodeUploading"); | 
			
		
	
		
			
				
					|  |  |  |  |             if (StrUtil.isNotEmpty(paramValue) && paramValue.equals("0")) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -269,14 +268,14 @@ public class IoCollectOrderBackupService extends ServiceImpl<IoCollectOrderBacku | 
			
		
	
		
			
				
					|  |  |  |  |                     List listCheckCode = baseResponseCheckCode.getData(); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (listCheckCode == null || listCheckCode.size() > 0) { | 
			
		
	
		
			
				
					|  |  |  |  |                         log.error("单据的所有码有已经传输过医保的,请核实"); | 
			
		
	
		
			
				
					|  |  |  |  |                         throw new JsonException("此单据的所有码有已经传输过医保的,请核实" + baseResponse.getMessage()); | 
			
		
	
		
			
				
					|  |  |  |  |                         throw new JsonException("此单据的所有码有已经传输过医保的,请核实" + baseResponseCheckCode.getMessage()); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                 } else { | 
			
		
	
		
			
				
					|  |  |  |  |                     throw new JsonException("查询码关联关系服务出差," + baseResponse.getMessage()); | 
			
		
	
		
			
				
					|  |  |  |  |                     throw new JsonException("查询码关联关系服务出错," + baseResponseCheckCode.getMessage()); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             // 医保上传
 | 
			
		
	
		
			
				
					|  |  |  |  |             BaseResponse<BasicSkPrescribeResponse> baseResponse = erpBasicClient.postOrder(orderRequest); | 
			
		
	
		
			
				
					|  |  |  |  |             log.debug("单据返回=========" + baseResponse); | 
			
		
	
		
			
				
					|  |  |  |  |             if (baseResponse.getCode() == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 // 触发上传 转发至中继服务 到外网 再到国家同步库
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |