refactor(oa): 移除项目实体中的删除标志字段
- 删除 SysOaProject 实体类中的 delFlag 字段 - 移除查询条件中对 delFlag 的过滤逻辑 - 简化项目负责人匹配的查询条件
This commit is contained in:
@@ -167,6 +167,4 @@ public class SysOaProject extends BaseEntity {
|
|||||||
|
|
||||||
//是否置顶
|
//是否置顶
|
||||||
private Integer isTop;
|
private Integer isTop;
|
||||||
//是否删除
|
|
||||||
private Integer delFlag;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -375,7 +375,6 @@ public class OaProjectScheduleStepServiceImpl implements IOaProjectScheduleStepS
|
|||||||
Wrappers.<SysOaProject>lambdaQuery()
|
Wrappers.<SysOaProject>lambdaQuery()
|
||||||
.in(SysOaProject::getProjectId, projectIds)
|
.in(SysOaProject::getProjectId, projectIds)
|
||||||
.eq(SysOaProject::getFunctionary, nickName) // 项目负责人匹配
|
.eq(SysOaProject::getFunctionary, nickName) // 项目负责人匹配
|
||||||
.eq(SysOaProject::getDelFlag, "0")
|
|
||||||
);
|
);
|
||||||
result.put("responsibleProjects", responsibleProjects); // 负责的项目列表
|
result.put("responsibleProjects", responsibleProjects); // 负责的项目列表
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user