|  |  |  | @ -388,7 +388,6 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //三期校验
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (bussinessTypeEntity.isCodeFillCheck()) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             BaseResponse checkOriginCodeRes = checkOriginCode(udiEntity); | 
			
		
	
		
			
				
					|  |  |  |  |             if (checkOriginCodeRes != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 IoCodeLostEntity codeLostEntity = codeLostService.findByCode(code); | 
			
		
	
	
		
			
				
					|  |  |  | @ -406,7 +405,6 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |                     udiEntity.setExpireDate(codeLostEntity.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     udiEntity.setProduceDate(codeLostEntity.getProduceDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 if (StrUtil.isNotEmpty(orderId)) { | 
			
		
	
		
			
				
					|  |  |  |  |                     List<IoCodeTempEntity> ioCodeEnttities = codeTempService.findByOrderId(orderId); | 
			
		
	
		
			
				
					|  |  |  |  |                     IoCodeTempEntity ioCodeEnttity = isExitLocal(code, ioCodeEnttities); | 
			
		
	
	
		
			
				
					|  |  |  | @ -416,6 +414,16 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |                 } else | 
			
		
	
		
			
				
					|  |  |  |  |                     return checkOriginCodeRes; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |             BaseResponse checkOriginCodeRes = checkOriginCode(udiEntity); | 
			
		
	
		
			
				
					|  |  |  |  |             if (checkOriginCodeRes != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 IoCodeLostEntity codeLostEntity = codeLostService.findByCode(code); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (codeLostEntity != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     udiEntity.setBatchNo(codeLostEntity.getBatchNo()); | 
			
		
	
		
			
				
					|  |  |  |  |                     udiEntity.setExpireDate(codeLostEntity.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     udiEntity.setProduceDate(codeLostEntity.getProduceDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |