修改已知问题。

This commit is contained in:
chenxudong 2025-04-25 15:15:35 +08:00
parent 963428a157
commit a4aba1fdfc
2 changed files with 3 additions and 3 deletions

View File

@ -25,13 +25,13 @@ public class BaseModel {
/**
* 最后更新时间
*/
@TableField(value = "updated_time", fill = FieldFill.UPDATE)
@TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
private Date updatedTime;
/**
* 最后更新人
*/
@TableField(value = "updated_by", fill = FieldFill.UPDATE)
@TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
private String updatedBy;
/**

View File

@ -116,7 +116,7 @@ public class EdPrjServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileInfo>
.setFileCode(commonService.createFileCode(newPrjId, EleDataTypeEnum.FOLDER.desc, FILE_START_VERSION, nowTimeStr))
.setDataOwn(dataOwnCode)
.setEffectFlag(EffectFlagEnum.EFFECT.code);
this.save(fileInfo);
this.baseMapper.insert(fileInfo);
UserThreadLocal.setSuccessInfo("", newPrjId, "创建 {} 项目成功。", prjName);
} catch (Exception e) {
String info = StrFormatter.format("工程 {} 创建失败,具体为--->{}", prjName, e.getMessage());