|  |  |  | @ -343,13 +343,15 @@ public class IoOrderReviewController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |         if (StrUtil.isNotEmpty(code)) { | 
			
		
	
		
			
				
					|  |  |  |  |             code = code.replace("\r\n", ""); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (code.endsWith("\u001D")) { | 
			
		
	
		
			
				
					|  |  |  |  |             code = code.replace("\u001D", ""); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         for (IoCodeEntity checkOrderCodesBean : codesList) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (checkOrderCodesBean.getCode().toUpperCase(Locale.ROOT).equals(code.toUpperCase(Locale.ROOT))) { | 
			
		
	
		
			
				
					|  |  |  |  |             String checkCode = checkOrderCodesBean.getCode(); | 
			
		
	
		
			
				
					|  |  |  |  |             if (checkCode.endsWith("\u001D")) { | 
			
		
	
		
			
				
					|  |  |  |  |                 checkCode = checkCode.replace("\u001D", ""); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (checkCode.toUpperCase(Locale.ROOT).equals(code.toUpperCase(Locale.ROOT))) { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (checkOrderCodesBean.getStatus() == Constant.DB_CHECK_ED | 
			
		
	
		
			
				
					|  |  |  |  |                         && IntUtil.value(checkOrderCodesBean.getReCount()) == checkOrderCodesBean.getScanCount()) { | 
			
		
	
		
			
				
					|  |  |  |  |                     return Constant.CHECK_REPEAT; | 
			
		
	
	
		
			
				
					|  |  |  | @ -367,8 +369,18 @@ public class IoOrderReviewController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public IoCodeEntity isExit(List<IoCodeEntity> codeList, String code) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (CollUtil.isNotEmpty(codeList)) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (StrUtil.isNotEmpty(code)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 code = code.replace("\r\n", ""); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (code.endsWith("\u001D")) { | 
			
		
	
		
			
				
					|  |  |  |  |                 code = code.replace("\u001D", ""); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             for (IoCodeEntity codeEntity : codeList) { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (codeEntity.getCode().equals(code)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 String checkCode = codeEntity.getCode(); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (checkCode.endsWith("\u001D")) { | 
			
		
	
		
			
				
					|  |  |  |  |                     checkCode = checkCode.replace("\u001D", ""); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |                 if (checkCode.equals(code)) { | 
			
		
	
		
			
				
					|  |  |  |  |                     return codeEntity; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |