feat:(REQ-3540) 重命名bug修复
This commit is contained in:
parent
ba1e0715fd
commit
8b18471de8
@ -84,7 +84,7 @@ public class FileDaoImpl extends ServiceImpl<FileMapper, File> implements FileDa
|
||||
*/
|
||||
@Override
|
||||
public boolean updateFileById(File file) {
|
||||
if (Objects.isNull(file) || Objects.isNull(file.getId()) || StringUtils.isBlank(file.getFileUuid())) {
|
||||
if (Objects.isNull(file) || Objects.isNull(file.getId())) {
|
||||
return false;
|
||||
}
|
||||
return lambdaUpdate().eq(File::getId, file.getId())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user