Browse Source

撤回审批

guarantee-lsq 7 months ago
parent
commit
2653c085dc

+ 1 - 1
platform-service/src/main/java/com/platform/service/workflow/impl/WorkflowServiceImpl.java

@@ -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("父级节点为空");
             }