|
@@ -227,7 +227,7 @@ public class PrivateStandardServiceImpl extends ServiceImpl<PrivateStandardMappe
|
|
|
dto.setFile(allFiles[fileIndex++]);
|
|
|
}
|
|
|
//先上传文件,上传成功在执行添加
|
|
|
- if(dto.getFiles() != null){
|
|
|
+ if(dto.getFile() != null){
|
|
|
MultipartFile file = dto.getFile();
|
|
|
StandardFile standardFile = new StandardFile();
|
|
|
standardFile.setId(SnowFlakeUtil.getId());
|