refactor(流程部署): 整理流程部署中无效的代码
This commit is contained in:
@@ -128,7 +128,6 @@ public class WfDeployFormServiceImpl implements IWfDeployFormService {
|
|||||||
throw new ServiceException("表单信息查询错误");
|
throw new ServiceException("表单信息查询错误");
|
||||||
}
|
}
|
||||||
WfDeployForm deployForm = new WfDeployForm();
|
WfDeployForm deployForm = new WfDeployForm();
|
||||||
deployForm.setContent(wfForm.getContent());
|
|
||||||
deployForm.setDeployId(deployId);
|
deployForm.setDeployId(deployId);
|
||||||
deployForm.setNodeKey(node.getId());
|
deployForm.setNodeKey(node.getId());
|
||||||
deployForm.setNodeName(node.getName());
|
deployForm.setNodeName(node.getName());
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ public class WfDeployServiceImpl implements IWfDeployService {
|
|||||||
processDefinitionQuery.suspended();
|
processDefinitionQuery.suspended();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// SuspensionState.ACTIVE
|
|
||||||
long pageTotal = processDefinitionQuery.count();
|
long pageTotal = processDefinitionQuery.count();
|
||||||
if (pageTotal <= 0) {
|
if (pageTotal <= 0) {
|
||||||
return TableDataInfo.build();
|
return TableDataInfo.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user