Browse Source

创建会议增加公平性审查类型

tags/24080901
WendyYang 1 year ago
parent
commit
a2e31c9db2
2 changed files with 7 additions and 2 deletions
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/enumeration/MeetingReviewTypeEnum.java
  2. +4
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/enumeration/MeetingReviewTypeEnum.java View File

@@ -26,7 +26,9 @@ public enum MeetingReviewTypeEnum {

ACCEPTANCE_SCHEME_REVIEW("验收方案评审", "3"),

DEPT_JOIN_REVIEW("部门联审", "4");
DEPT_JOIN_REVIEW("部门联审", "4"),

FAIRNESS_REVIEW( "公平性审查","5");

private final String value;
private final String code;


+ 4
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java View File

@@ -851,7 +851,8 @@ public class MeetingManage {

public PageVo<MeetingReviewProjectVO> optionProject(MeetingOptionProjectReq req) {
String meetingType = req.getMeetingType();
LambdaQueryWrapper<Project> query = Wrappers.lambdaQuery(Project.class);
LambdaQueryWrapper<Project> query = Wrappers.lambdaQuery(Project.class)
.eq(Project::getNewest, Boolean.TRUE);
switch (MeetingReviewTypeEnum.getByCode(meetingType)) {
case PRELIMINARY_SCHEME_REVIEW:
buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.PRE_APPLYING);
@@ -865,6 +866,8 @@ public class MeetingManage {
case DEPT_JOIN_REVIEW:
buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW);
break;
case FAIRNESS_REVIEW:
break;
default:
return PageVo.empty();
}


Loading…
Cancel
Save