Browse Source

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 year ago
parent
commit
cdacf22e86
2 changed files with 7 additions and 2 deletions
  1. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/dto/MeetingBasicDTO.java
  2. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/dto/MeetingBasicDTO.java View File

@@ -39,6 +39,11 @@ public class MeetingBasicDTO {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime startTime; private LocalDateTime startTime;


@NotNull(message = "结束时间不能为空")
@ApiModelProperty("结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime endTime;

@NotNull(message = "评审耗时不能为空") @NotNull(message = "评审耗时不能为空")
@ApiModelProperty("评审耗时:1 半天、2 一天") @ApiModelProperty("评审耗时:1 半天、2 一天")
private Integer meetingUsageTime; private Integer meetingUsageTime;


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

@@ -741,10 +741,10 @@ public class MeetingManage {
buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.SCHEME_UNDER_REVIEW); buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.SCHEME_UNDER_REVIEW);
break; break;
case ACCEPTANCE_SCHEME_REVIEW: case ACCEPTANCE_SCHEME_REVIEW:
query.eq(Project::getStatus, ProjectStatusEnum.FINAL_ACCEPTANCE_IS_UNDER_REVIEW);
buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.FINAL_ACCEPTANCE_IS_UNDER_REVIEW);
break; break;
case DEPT_JOIN_REVIEW: case DEPT_JOIN_REVIEW:
query.eq(Project::getStatus, ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW);
buildOptionProjectQuery(query, meetingType, ProjectStatusEnum.DEPARTMENT_JOINT_REVIEW);
break; break;
default: default:
return PageVo.empty(); return PageVo.empty();


Loading…
Cancel
Save