feat: 保存草稿新增字段
This commit is contained in:
+51
@@ -9,8 +9,59 @@ import lombok.Data;
|
|||||||
@Data
|
@Data
|
||||||
public class ProcessCenterListVO {
|
public class ProcessCenterListVO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程编号
|
||||||
|
*/
|
||||||
|
private String processNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程类型
|
||||||
|
*/
|
||||||
|
private String processType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程名称
|
||||||
|
*/
|
||||||
|
private String processName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发起人
|
||||||
|
*/
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务Id
|
||||||
|
*/
|
||||||
|
private String taskId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前处理人
|
||||||
|
*/
|
||||||
|
private String currentUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接收任务时间
|
||||||
|
*/
|
||||||
|
private String acceptTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成时间
|
||||||
|
*/
|
||||||
|
private String completeTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程状态
|
||||||
|
*/
|
||||||
|
private String processStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程耗时
|
||||||
|
*/
|
||||||
|
private String processTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+5
@@ -56,6 +56,11 @@ public class ProcessDraft implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String businessId;
|
private String businessId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程类型
|
||||||
|
*/
|
||||||
|
private String processKey;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
}
|
}
|
||||||
+1
@@ -168,6 +168,7 @@ public class ProcessEsInitChangeServiceImpl extends ServiceImpl<ProcessEsInitCha
|
|||||||
ProcessDraft draft = new ProcessDraft();
|
ProcessDraft draft = new ProcessDraft();
|
||||||
draft.setDraftId(UUID.randomUUID().toString());
|
draft.setDraftId(UUID.randomUUID().toString());
|
||||||
draft.setBusinessId(esInitChangeItem.getId());
|
draft.setBusinessId(esInitChangeItem.getId());
|
||||||
|
draft.setProcessKey(ProcessType.ES_INIT_CHANGE.getProcessKey());
|
||||||
draftList.add(draft);
|
draftList.add(draft);
|
||||||
}
|
}
|
||||||
processDraftService.saveBatch(draftList);
|
processDraftService.saveBatch(draftList);
|
||||||
|
|||||||
Reference in New Issue
Block a user