瀏覽代碼

修改 退回 不删除别的节点

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
24f2b700ff
共有 3 個文件被更改,包括 83 次插入1 次删除
  1. +44
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/entity/Documentation.java
  2. +38
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/entity/DocumentationGroup.java
  3. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 44
- 0
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/entity/Documentation.java 查看文件

@@ -0,0 +1,44 @@
package com.ningdatech.pmapi.filemanage.model.entity;

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 java.time.LocalDateTime;

/**
* @Classname Documentation
* @Description
* @Date 2023/6/6 14:41
* @Author PoffyZhang
*/
@Data
@TableName("nd_documentation")
@ApiModel(value = "nd_documentation", description = "资料文档")
public class Documentation {

@ApiModelProperty("主键")
@TableId(type = IdType.AUTO)
private Long id;

@ApiModelProperty("文件名")
private String fileName;

@ApiModelProperty("上传人")
private String creatBy;

@ApiModelProperty("上传时间")
private LocalDateTime creatOn;

@ApiModelProperty("文档大小 kb")
private Long size;

@ApiModelProperty("文档分类ID")
private Long groupId;

@ApiModelProperty("排序")
private Integer sort;
}

+ 38
- 0
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/entity/DocumentationGroup.java 查看文件

@@ -0,0 +1,38 @@
package com.ningdatech.pmapi.filemanage.model.entity;

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 java.time.LocalDateTime;

/**
* @Classname Documentation
* @Description
* @Date 2023/6/6 14:41
* @Author PoffyZhang
*/
@Data
@TableName("nd_documentation_group")
@ApiModel(value = "nd_documentation_group", description = "资料文档分组")
public class DocumentationGroup {

@ApiModelProperty("主键")
@TableId(type = IdType.AUTO)
private Long id;

@ApiModelProperty("上传人")
private String creatBy;

@ApiModelProperty("上传时间")
private LocalDateTime creatOn;

@ApiModelProperty("分组名")
private String name;

@ApiModelProperty("排序")
private Integer sort;
}

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java 查看文件

@@ -393,7 +393,7 @@ public class TodoCenterManage {
}
nodeId = task.getTaskDefinitionKey();
// 退回该任务
processTaskService.handleTask(param, employeeCode);
processTaskService.handleTaskLs(param, employeeCode);
//退回审核后 所处理的逻辑
handlerManage.afterBackTodo(declaredProject,instance);
break;


Loading…
取消
儲存