Commit 93c3c889 authored by chenhao's avatar chenhao

修改错误的取值方法

parent 71fda41d
......@@ -54,10 +54,10 @@ public class WorkflowExcuteServiceImpl implements IWorkflowExcuteService {
Map<String, Object> map = new HashMap<String, Object>();
map.put("checkFlag", false);
JSONObject teskObject = workflowFeignService.getTask(processInstanceId);
if (ObjectUtils.isNotEmpty(teskObject)) {
map.put("taskId", teskObject.getString("id"));
if (ObjectUtils.isNotEmpty(teskObject.getJSONObject("data"))) {
map.put("taskId", teskObject.getJSONObject("data").getString("id"));
map.put("checkFlag", true);
map.put("name", teskObject.getString("name"));
map.put("name", teskObject.getJSONObject("data").getString("name"));
}
/*
......
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