Browse Source

文件上传

huangxingxing 3 weeks ago
parent
commit
e368b586e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/miniframe/bisiness/ac/AC00009Service.java

+ 1 - 1
src/main/java/com/miniframe/bisiness/ac/AC00009Service.java

@@ -53,7 +53,7 @@ public class AC00009Service extends AC00009BaseModel implements ExecProcessFlow
 				pv.setVal(codev.getCodeValue());
 			}
 			if(pv.getCode().equals("from_file")){//文件存储 fid
-				if(StringUtil.isNullOrEmpty(pv.getVal())&&!"0".equals(pv.getVal())){
+				if(!StringUtil.isNullOrEmpty(pv.getVal())&&!"0".equals(pv.getVal())){
 					SysFileMapper fdao = UtilTools.getBean(SysFileMapper.class);
 					SysFile f = fdao.selectByPrimaryKey(pv.getVal());
 					pv.setFilename(f.getFilename());