Ver código fonte

评审类型增加需求论证

tags/24080901
WendyYang 4 meses atrás
pai
commit
08b7c30d35
2 arquivos alterados com 6 adições e 6 exclusões
  1. +3
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/entity/enumeration/MeetingReviewTypeEnum.java
  2. +3
    -5
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java

+ 3
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/entity/enumeration/MeetingReviewTypeEnum.java Ver arquivo

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

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

PROJECT_REVIEW("项目评审", "6");
PROJECT_REVIEW("项目评审", "6"),

REQUIREMENT_REVIEW("需求论证", "7");

private final String value;
private final String code;


+ 3
- 5
hz-pm-api/src/main/java/com/hz/pm/api/meeting/manage/MeetingManage.java Ver arquivo

@@ -931,20 +931,18 @@ public class MeetingManage {
.eq(Project::getNewest, Boolean.TRUE);
switch (MeetingReviewTypeEnum.getByCode(meetingType)) {
case PRELIMINARY_SCHEME_REVIEW:
buildOptionProjectQuery(query, meetingType, null);
break;
case CONSTRUCTION_SCHEME_REVIEW:
case DEPT_JOIN_REVIEW:
buildOptionProjectQuery(query, meetingType, null);
buildOptionProjectQuery(query, meetingType, null);
break;
case ACCEPTANCE_SCHEME_REVIEW:
buildOptionProjectQuery(query, meetingType, ProjectStatus.ON_FINALLY_INSPECTED);
break;
case DEPT_JOIN_REVIEW:
buildOptionProjectQuery(query, meetingType, null);
break;
case FAIRNESS_REVIEW:
break;
case PROJECT_REVIEW:
case REQUIREMENT_REVIEW:
buildOptionProjectQuery(query, meetingType, ProjectStatus.WITHOUT_PROJECT_REVIEW);
break;
default:


Carregando…
Cancelar
Salvar