|
@@ -115,7 +115,7 @@ public class WorkflowServiceImpl extends BaseServiceImpl<WorkflowMapper, Workflo
|
|
|
node.setCreatedUserId(SecurityUtils.getUserInfo().getUserId());
|
|
|
node.setCreatedUserName(SecurityUtils.getUserInfo().getRealName());
|
|
|
node.setFrontId(jsonObject.getString("id"));
|
|
|
- String parentId = jsonObject.getString("parentId");
|
|
|
+ String parentId = jsonObject.getString("parentIds");
|
|
|
if(sortNum > 1 && StringUtils.isBlank(parentId)){
|
|
|
throw new DeniedException("父级节点为空");
|
|
|
}
|