Commit 213aa3c7 authored by zhangsen's avatar zhangsen

移装告知撤回调整

parent 3ddc64c0
...@@ -584,7 +584,9 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto ...@@ -584,7 +584,9 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
jgInstallationNotice.setNoticeStatus(String.valueOf(FlowStatusEnum.ROLLBACK.getCode())); jgInstallationNotice.setNoticeStatus(String.valueOf(FlowStatusEnum.ROLLBACK.getCode()));
jgInstallationNotice.setNextTaskId(workflowResultDto.getNextTaskId()); jgInstallationNotice.setNextTaskId(workflowResultDto.getNextTaskId());
jgTransferNoticeMapper.updateById(jgInstallationNotice); jgTransferNoticeMapper.updateById(jgInstallationNotice);
commonService.rollbackTask(jgInstallationNotice.getInstanceId(), JSONObject.parseObject(JSONObject.toJSONString(jgInstallationNotice))); JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(jgInstallationNotice));
jsonObject.put("taskType", BusinessTypeEnum.JG_ADVICE_REMOVAL.getCode());
commonService.rollbackTask(jgInstallationNotice.getInstanceId(), JSON.parseObject(JSON.toJSONString(jgInstallationNotice)));
} }
@Transactional @Transactional
......
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