瀏覽代碼

文件上传

huangxingxing 3 周之前
父節點
當前提交
e368b586e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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());