Commit 28d1326b authored by yangyang's avatar yangyang

fix(更名):更换流程定义ID

parent 50a721af
......@@ -130,7 +130,7 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
ActWorkflowBatchDTO actWorkflowBatchDTO = new ActWorkflowBatchDTO();
List<ActWorkflowStartDTO> list = new ArrayList<>();
ActWorkflowStartDTO dto = new ActWorkflowStartDTO();
dto.setProcessDefinitionKey("jgChangeRegistrationName");
dto.setProcessDefinitionKey("unitRename");
dto.setBusinessKey("1");
list.add(dto);
actWorkflowBatchDTO.setProcess(list);
......@@ -240,7 +240,7 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
// 发起流程
if (!StringUtils.hasText(jgChangeRegistrationNameDto.getInstanceId())) {
ActWorkflowStartDTO dto = new ActWorkflowStartDTO();
dto.setProcessDefinitionKey("jgChangeRegistrationName");
dto.setProcessDefinitionKey("unitRename");
dto.setBusinessKey("1");
try {
ajaxResult = Workflow.taskClient.startByVariable(dto);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment