|  | @@ -64,7 +64,10 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
 | 
	
		
			
				|  |  |  				}else{
 | 
	
		
			
				|  |  |  					AdiModeling modeling = modelings.get(0);
 | 
	
		
			
				|  |  |  					SysFileMapper fileMapper = UtilTools.getBean(SysFileMapper.class);
 | 
	
		
			
				|  |  | -					SysFile file =fileMapper.selectByPrimaryKey(modeling.getGeometryFile());
 | 
	
		
			
				|  |  | +					SysFile file =fileMapper.selectByPrimaryKey(modeling.getGridFile());
 | 
	
		
			
				|  |  | +					if(file==null){
 | 
	
		
			
				|  |  | +						throw new BusinessException("EB4000012");
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  |  					msg.setParamJson(XIFileUtils.getRootPathStr()+ MFConstant.separator+file.getFilepath());
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  			}
 |