附件名称修改

This commit is contained in:
yuezhihang
2022-06-29 13:41:22 +08:00
parent 177804eb67
commit 189763f5a2
@@ -345,7 +345,7 @@ public class AttFileEOServiceImpl extends ServiceImpl<AttFileEODao, AttFileEO> i
attFileEO.setId(attId);
attFileInfo = this.baseMapper.selectFileInfoById(attFileEO);
attFileInfo.setOldFileName(name);
this.baseMapper.updateFileInfoById(attFileEO);
this.baseMapper.updateFileInfoById(attFileInfo);
return attFileInfo;
} catch (Exception e) {
log.error(e.getMessage(),e);