|  |  |  | @ -370,6 +370,9 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |         //批次号校验
 | 
			
		
	
		
			
				
					|  |  |  |  |         //判断此产品是否开启允许无批次号
 | 
			
		
	
		
			
				
					|  |  |  |  |         UdiProductEntity udiInfoEntity = udiProductService.findByNameCode(udiEntity.getUdi()); | 
			
		
	
		
			
				
					|  |  |  |  |         if (udiInfoEntity == null) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ResultVOUtils.error(500, "耗材字典不存在此产品!"); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         if (!udiInfoEntity.getAllowNoBatch()) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (StrUtil.isEmpty(udiEntity.getSerialNo()) && StrUtil.isEmpty(udiEntity.getBatchNo())) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.error(500, "序列号与批次号不能同时为空!"); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |