|
@@ -188,7 +188,8 @@ public class QueryWorkFlowFirstStaffBMOImpl implements IQueryWorkFlowFirstStaffB
|
|
|
.addInputStream(processName, in).deploy();
|
|
.addInputStream(processName, in).deploy();
|
|
|
deploymentid = deployment.getId();
|
|
deploymentid = deployment.getId();
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- throw new IllegalArgumentException(e);
|
|
|
|
|
|
|
+ e.printStackTrace();
|
|
|
|
|
+ throw new IllegalArgumentException("流程未保存或者错误");
|
|
|
}
|
|
}
|
|
|
Assert.isTrue(!StringUtil.isEmpty(deploymentid), "流程部署出错");
|
|
Assert.isTrue(!StringUtil.isEmpty(deploymentid), "流程部署出错");
|
|
|
ProcessDefinition processDefinition = repositoryService
|
|
ProcessDefinition processDefinition = repositoryService
|