|
@@ -145,8 +145,10 @@ public class ZhcxPmqManagementRecoredServiceImpl extends ServiceImpl<ZhcxPmqMana
|
|
|
String filetype = FileUtil.getSuffix(fileInfoDto.getFileName());
|
|
|
// 获取文件名 => fileid+后缀
|
|
|
String filename = fileInfoDto.getFileId()+"."+filetype;
|
|
|
+ log.info("获取的文件名:{}",filename);
|
|
|
// 文件全路径
|
|
|
String fullPath = nxfilepath + FileUtil.FILE_SEPARATOR + fileInfoDto.getDir() + FileUtil.FILE_SEPARATOR + filename;
|
|
|
+ log.info("获取的文件全路径:{}",fullPath);
|
|
|
// 判断文件是否存在
|
|
|
if(FileUtil.isEmpty(new File(fullPath))){
|
|
|
return R.error("暂无法获取文件");
|