252e99421e
- 协调单流程定义升至 v2:dispatch 节点 resolver 改为 acceptOrgLeader,v1 行不可变保留;getOrCreate 取最新版本 - 详情新增 pendingTasks,canAssign 在持有 assign 权限且实例 PENDING 时可用 - /todo/page 支持 scope=all(仅 assign 权限),详情/列表/导出可见性 SQL 与 countVisible 一致 - 查询参数 keyword 统一为 BaseParam.keywords;术语统一为报送人 - 删除 ApprovalDirectoryService.hasDepartmentLeader 与 ApprovalFileService.getById 死代码
96 lines
1.8 KiB
Java
96 lines
1.8 KiB
Java
package com.gxwebsoft.approval.vo;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 审批实例详情。
|
|
*/
|
|
@Data
|
|
@ApiModel(description = "审批实例详情")
|
|
public class ApprovalInstanceVO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private Long id;
|
|
|
|
private String bizNo;
|
|
|
|
private String docType;
|
|
|
|
private String docTypeName;
|
|
|
|
private String flowCode;
|
|
|
|
private String status;
|
|
|
|
private String statusName;
|
|
|
|
private Integer round;
|
|
|
|
private Integer reporterId;
|
|
|
|
private String reporterName;
|
|
|
|
private Integer reportOrgId;
|
|
|
|
private String reportOrgName;
|
|
|
|
private Integer acceptOrgId;
|
|
|
|
private String acceptOrgName;
|
|
|
|
private String currentNodeKey;
|
|
|
|
private String currentNodeType;
|
|
|
|
private String currentNodeName;
|
|
|
|
private LocalDateTime submitTime;
|
|
|
|
private LocalDateTime approveTime;
|
|
|
|
private LocalDateTime archiveTime;
|
|
|
|
private Integer archivistId;
|
|
|
|
private String archivistName;
|
|
|
|
// 业务完成确认单字段
|
|
private String name;
|
|
|
|
private String implementOrg;
|
|
|
|
private BigDecimal fee;
|
|
|
|
private String serviceContent;
|
|
|
|
// 内部协调单字段
|
|
private String title;
|
|
|
|
private String content;
|
|
|
|
private String remark;
|
|
|
|
private Integer dispatchTargetId;
|
|
|
|
private String dispatchTargetName;
|
|
|
|
private List<ApprovalAttachmentVO> attachments;
|
|
|
|
private List<ApprovalRecordVO> records;
|
|
|
|
private List<ApprovalConfirmVO> confirms;
|
|
|
|
private ApprovalMyTaskVO myTask;
|
|
|
|
/** 实例当前全部待办任务,供有 assign 权限的 PC 用户按任务改派。 */
|
|
private List<ApprovalPendingTaskVO> pendingTasks;
|
|
|
|
private ApprovalPermissionsVO permissions;
|
|
}
|