|
|
@ -120,13 +120,13 @@ public class AccessTaskV4ServiceImpl implements AccessTaskV4Service, StartProces |
|
|
|
if (StringUtils.isNotBlank(param)){ |
|
|
|
if (StringUtils.isNotBlank(param)){ |
|
|
|
variables=JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(param,DateUtil.PATTERN_DATETIME), Map.class); |
|
|
|
variables=JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(param,DateUtil.PATTERN_DATETIME), Map.class); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
variables = JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(entity, DateUtil.PATTERN_DATETIME), Map.class); |
|
|
|
variables = JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(accessTaskV4DTO, DateUtil.PATTERN_DATETIME), Map.class); |
|
|
|
} |
|
|
|
} |
|
|
|
if(ObjectUtil.isNotEmpty(accessTaskV4DTO.getCreateUser())){ |
|
|
|
if(ObjectUtil.isNotEmpty(accessTaskV4DTO.getCreateUser())){ |
|
|
|
variables.put("startFlowUserId",accessTaskV4DTO.getCreateUser().toString()); |
|
|
|
variables.put("startFlowUserId",accessTaskV4DTO.getCreateUser().toString()); |
|
|
|
} |
|
|
|
} |
|
|
|
variables.put("solve",TaskUtil.getTaskUser(accessTaskV4DTO.getHandler().toString())); |
|
|
|
variables.put("solve",TaskUtil.getTaskUser(accessTaskV4DTO.getHandler().toString())); |
|
|
|
R<BladeFlow> result = compensateProcessClient.startFlow(AuthUtil.getUserId().toString(),dictValue, |
|
|
|
R result = compensateProcessClient.startFlow(AuthUtil.getUserId().toString(),dictValue, |
|
|
|
FlowUtil.getBusinessKey("access_task_v4", |
|
|
|
FlowUtil.getBusinessKey("access_task_v4", |
|
|
|
String.valueOf(accessTaskV4DTO.getId())), accessTaskV4DTO.getName(),variables); |
|
|
|
String.valueOf(accessTaskV4DTO.getId())), accessTaskV4DTO.getName(),variables); |
|
|
|
log.error("开启检修任务流程失败{}" + result); |
|
|
|
log.error("开启检修任务流程失败{}" + result); |
|
|
|