|  |  | @ -810,7 +810,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //校验工位存量是否存在
 |  |  |  |         //校验工位存量是否存在
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_OUT)) { |  |  |  |         if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_OUT)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, addOrderRequest.getWorkPlaceCode()); |  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, null); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             if (fifoCodeEntity != null && StrUtil.isNotEmpty(fifoCodeEntity.getSerialNo())) { |  |  |  |             if (fifoCodeEntity != null && StrUtil.isNotEmpty(fifoCodeEntity.getSerialNo())) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已存在!"); |  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已存在!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -824,7 +824,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_RETURN)) { |  |  |  |         } else if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_RETURN)) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, addOrderRequest.getWorkPlaceCode()); |  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, null); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             if (fifoCodeEntity == null) { |  |  |  |             if (fifoCodeEntity == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(500, "当前追溯码未上货!"); |  |  |  |                 return ResultVOUtils.error(500, "当前追溯码未上货!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -1316,7 +1316,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //------工位上货相关-----校验工位存量是否存在----
 |  |  |  |         //------工位上货相关-----校验工位存量是否存在----
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_OUT)) { |  |  |  |         if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_OUT)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, addOrderRequest.getWorkPlaceCode()); |  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, null); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             if (fifoCodeEntity != null && StrUtil.isNotEmpty(fifoCodeEntity.getSerialNo())) { |  |  |  |             if (fifoCodeEntity != null && StrUtil.isNotEmpty(fifoCodeEntity.getSerialNo())) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已存在!"); |  |  |  |                 return ResultVOUtils.error(533, "当前追溯码已存在!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -1333,7 +1333,7 @@ public class IoCodeTempController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_RETURN)) { |  |  |  |         } else if (bussinessTypeEntity.getAction().equals(ConstantType.SPLIT_RETURN)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, addOrderRequest.getWorkPlaceCode()); |  |  |  |             IoSplitFifoCodeEntity fifoCodeEntity = fifoCodeService.findByCode(code, null); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             if (fifoCodeEntity == null) { |  |  |  |             if (fifoCodeEntity == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(500, "当前追溯码未上货!"); |  |  |  |                 return ResultVOUtils.error(500, "当前追溯码未上货!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |