Browse Source

项目附件表添加字段你

master
sunyuchao 5 years ago
parent
commit
c9d844e171
  1. 16
      epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/ProjectProcessAttachmentDTO.java
  2. 16
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/ProjectProcessAttachmentEntity.java
  3. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/excel/ProjectProcessAttachmentExcel.java
  4. 5
      epmet-module/gov-project/gov-project-server/src/main/resources/db/migration/V0.0.5__create_project_attachment.sql

16
epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/ProjectProcessAttachmentDTO.java

@ -103,6 +103,22 @@ public class ProjectProcessAttachmentDTO implements Serializable {
*/
private Integer isRelease;
/**
* 附件状态审核中auditing
* auto_passed: 自动通过
* review结果不确定需要人工审核
* block: 结果违规
* rejected人工审核驳回;
* approved人工审核通过
* 现在图片是同步审核的所以图片只有auto_passed一种状态
*/
private String status;
/**
* 附件审核结果描述
*/
private String reason;
/**
* 删除标识0.未删除 1.已删除
*/

16
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/ProjectProcessAttachmentEntity.java

@ -103,4 +103,20 @@ public class ProjectProcessAttachmentEntity extends BaseEpmetEntity {
*/
private Integer isRelease;
/**
* 附件状态审核中auditing
* auto_passed: 自动通过
* review结果不确定需要人工审核
* block: 结果违规
* rejected人工审核驳回;
* approved人工审核通过
* 现在图片是同步审核的所以图片只有auto_passed一种状态
*/
private String status;
/**
* 附件审核结果描述
*/
private String reason;
}

6
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/excel/ProjectProcessAttachmentExcel.java

@ -73,6 +73,12 @@ public class ProjectProcessAttachmentExcel {
@Excel(name = "是否强制发布(0:否 1:是)")
private Integer isRelease;
@Excel(name = "附件审核状态")
private String status;
@Excel(name = "附件审核结果描述")
private String reason;
@Excel(name = "删除标识:0.未删除 1.已删除")
private String delFlag;

5
epmet-module/gov-project/gov-project-server/src/main/resources/db/migration/V0.0.5__create_project_attachment.sql

@ -12,8 +12,10 @@ CREATE TABLE `project_process_attachment` (
`ATTACHMENT_TYPE` varchar(64) DEFAULT NULL COMMENT '文件类型((图片 - image、 视频 - video、 语音 - voice、 文档 - doc))',
`ATTACHMENT_URL` varchar(255) NOT NULL COMMENT 'url地址',
`SORT` int(11) NOT NULL COMMENT '排序(需求确定,按上传顺序排序)',
`DURATION` int(11) unsigned zerofill DEFAULT '00000000000' COMMENT '语音或视频时长,秒',
`DURATION` int(11) unsigned DEFAULT '0' COMMENT '语音或视频时长,秒',
`IS_RELEASE` int(1) NOT NULL DEFAULT '0' COMMENT '是否强制发布(0:否 1:是)',
`STATUS` varchar(32) DEFAULT NULL COMMENT '附件审核状态(审核中:auditing; \r\nauto_passed: 自动通过;\r\nreview:结果不确定,需要人工审核;\r\nblock: 结果违规;\r\nrejected:人工审核驳回;\r\napproved:人工审核通过)\r\n现在图片是同步审核的,所以图片只有auto_passed一种状态',
`REASON` varchar(128) DEFAULT NULL COMMENT '附件审核结果描述',
`DEL_FLAG` char(1) NOT NULL COMMENT '删除标识:0.未删除 1.已删除',
`REVISION` int(11) NOT NULL COMMENT '乐观锁',
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人',
@ -23,6 +25,7 @@ CREATE TABLE `project_process_attachment` (
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='项目节点附件表';
CREATE TABLE `project_process_scan_task` (
`ID` varchar(64) NOT NULL COMMENT '唯一标识',
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID',

Loading…
Cancel
Save