|  | @@ -25,7 +25,7 @@ public class TemplateServer {
 | 
	
		
			
				|  |  |          ExtAcMapper dao = UtilTools.getBean(ExtAcMapper.class);
 | 
	
		
			
				|  |  |          List<ProAttVo> pvs = dao.getProAttList(pid,astType);
 | 
	
		
			
				|  |  |          for (ProAttVo pv :pvs) {
 | 
	
		
			
				|  |  | -            if(pv.getCode().equals("from_file")&& StringUtil.isNullOrEmpty(pv.getVal())&&!"0".equals(pv.getVal())){//文件上传
 | 
	
		
			
				|  |  | +            if(pv.getCode().equals("from_file")&& !StringUtil.isNullOrEmpty(pv.getVal())&&!"0".equals(pv.getVal())){//文件上传
 | 
	
		
			
				|  |  |                  SysFileMapper fdao = UtilTools.getBean(SysFileMapper.class);
 | 
	
		
			
				|  |  |                  SysFile f = fdao.selectByPrimaryKey(pv.getVal());
 | 
	
		
			
				|  |  |  //                pv.setFilename(f.getFilename());
 |