소스 검색

文件上传

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());