Przeglądaj źródła

项目预警 整改

master
PoffyZhang 11 miesięcy temu
rodzic
commit
79dbe5e8a9
3 zmienionych plików z 85 dodań i 5 usunięć
  1. +78
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/sys/model/vo/ProjectEarlyWarningVO.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/model/vo/WflowEarlyWarningRecordsVO.java
  3. +6
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/workbench/model/vo/WorkbenchVO.java

+ 78
- 0
pmapi/src/main/java/com/ningdatech/pmapi/sys/model/vo/ProjectEarlyWarningVO.java Wyświetl plik

@@ -0,0 +1,78 @@
package com.ningdatech.pmapi.sys.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 项目预警
* @author PoffyZhang
*/
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("nd_project_early_warning")
@ApiModel(value = "ProjectEarlyWarning", description = "项目预警")
public class ProjectEarlyWarningVO implements Serializable {

private static final long serialVersionUID = 1L;

@ApiModelProperty(value = "id")
@TableId(value = "id", type = IdType.AUTO)
private Long id;

@ApiModelProperty(value = "项目编码")
private String projectCode;

@ApiModelProperty(value = "区域")
private String areaCode;

@ApiModelProperty(value = "建设单位CODE")
private String buildOrgCode;

@ApiModelProperty(value = "预警状态")
private String status;

@ApiModelProperty(value = "流程预警是否异常")
private Boolean processWarning;
@ApiModelProperty(value = "填报预警是否异常")
private Boolean declaredWarning;
@ApiModelProperty(value = "运维预警是否异常")
private Boolean operationWarning;
@ApiModelProperty(value = "续建资金预警是否异常")
private Boolean renewalFundWarning;
@ApiModelProperty(value = "是否正常")
private Boolean normal;

@ApiModelProperty(value = "规则类型 1.流程预警规则 2.填报预警规则 3.实施监督 4.续建资金项目")
private Integer ruleType;
@ApiModelProperty(value = "1超期 2临期")
private Integer noticeType;

/**
* 最新的一条预警记录
*/
@ApiModelProperty(value = "预警员工号")
private String warningEmployeecode;
@ApiModelProperty(value = "通知方式 0浙政钉 1短信 逗号分隔")
private String noticeMethod;
@ApiModelProperty(value = "通知内容")
private String noticeContent;
@ApiModelProperty(value = "任务开始时间")
private LocalDateTime instStart;
@ApiModelProperty(value = "预警时间")
private LocalDateTime warningTime;

private LocalDateTime createOn;

}

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/model/vo/WflowEarlyWarningRecordsVO.java Wyświetl plik

@@ -106,7 +106,7 @@ public class WflowEarlyWarningRecordsVO implements Serializable {
/**
* 规则
*/
@ApiModelProperty(value = "规则类型 1.流程预警规则 2.填报预警规则 3.实施监督")
@ApiModelProperty(value = "规则类型 1.流程预警规则 2.填报预警规则 3.实施监督4.续建")
private Integer ruleType;




+ 6
- 4
pmapi/src/main/java/com/ningdatech/pmapi/workbench/model/vo/WorkbenchVO.java Wyświetl plik

@@ -2,7 +2,9 @@ package com.ningdatech.pmapi.workbench.model.vo;

import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.projectlib.model.vo.ProjectLibListItemVO;
import com.ningdatech.pmapi.sys.model.entity.ProjectEarlyWarning;
import com.ningdatech.pmapi.sys.model.vo.NoticeListItemVO;
import com.ningdatech.pmapi.sys.model.vo.ProjectEarlyWarningVO;
import com.ningdatech.pmapi.sys.model.vo.WflowEarlyWarningRecordsVO;
import com.ningdatech.pmapi.todocenter.model.vo.TodoCenterStatisticsVO;
import io.swagger.annotations.ApiModelProperty;
@@ -54,16 +56,16 @@ public class WorkbenchVO implements Serializable {
private WarningStatistics current;

@ApiModelProperty("流程项目预警")
private PageVo<ProjectEarlyWarning> process;
private PageVo<ProjectEarlyWarningVO> process;

@ApiModelProperty("填报项目预警")
private PageVo<ProjectEarlyWarning> declared;
private PageVo<ProjectEarlyWarningVO> declared;

@ApiModelProperty("实施项目预警")
private PageVo<ProjectEarlyWarning> operation;
private PageVo<ProjectEarlyWarningVO> operation;

@ApiModelProperty("续建资金项目预警")
private PageVo<ProjectEarlyWarning> renewalFund;
private PageVo<ProjectEarlyWarningVO> renewalFund;
}

@Data


Ładowanie…
Anuluj
Zapisz