update 1、替换oa待办传参中的processId为taskId
2、转办时oa待办传参中的taskId增加时间戳区分
This commit is contained in:
@@ -199,4 +199,11 @@ public class ProcessApprovalRecord {
|
||||
*/
|
||||
@ApiModelProperty(value = "超期标识(0:未超期 1:已超期)")
|
||||
private String overDue;
|
||||
|
||||
/**
|
||||
* 转办任务id
|
||||
*/
|
||||
@TableField(value = "transfer_task_id")
|
||||
@ApiModelProperty(value = "转办任务id")
|
||||
private String transferTaskId;
|
||||
}
|
||||
+5
-1
@@ -200,7 +200,11 @@ public class MyGlobalEventListener implements ActivitiEventListener {
|
||||
|
||||
// 对接统一平台生成办结
|
||||
pushWorkflowIntegrationAPI.sendActivityComplete(list);
|
||||
|
||||
//更新转办任务id
|
||||
LambdaUpdateWrapper<ProcessApprovalRecord> update = new LambdaUpdateWrapper<>();
|
||||
update.eq(ProcessApprovalRecord::getTaskId,taskId);
|
||||
update.set(ProcessApprovalRecord::getTransferTaskId,taskId+"_"+System.currentTimeMillis());
|
||||
recordService.update(update);
|
||||
// 生成被转办人的待办
|
||||
list.clear();
|
||||
hiworkTodoAdd.setToUserId(assignee);
|
||||
|
||||
Reference in New Issue
Block a user