添加项目增删改查接口,以及用户和项目关联增删改查接口

This commit is contained in:
lcj
2025-03-05 16:23:44 +08:00
parent 8a926e0047
commit 93e8ee265f
31 changed files with 2266 additions and 7 deletions

View File

@ -33,8 +33,8 @@ public class BaseEntity implements Serializable {
/**
* 创建部门
*/
@TableField(fill = FieldFill.INSERT)
private Long createDept;
/* @TableField(fill = FieldFill.INSERT)
private Long createDept;*/
/**
* 创建者

View File

@ -44,7 +44,7 @@ public class InjectionMetaObjectHandler implements MetaObjectHandler {
// 填充创建人、更新人和创建部门信息
baseEntity.setCreateBy(userId);
baseEntity.setUpdateBy(userId);
baseEntity.setCreateDept(ObjectUtils.notNull(baseEntity.getCreateDept(), loginUser.getDeptId()));
// baseEntity.setCreateDept(ObjectUtils.notNull(baseEntity.getCreateDept(), loginUser.getDeptId()));
}
}
} else {