代码补全
This commit is contained in:
parent
a302e5923f
commit
a31bb4211a
Binary file not shown.
@ -3203,15 +3203,28 @@ public class ProcessPublishWeb extends ActionWeb {
|
|||||||
String taskId = "";
|
String taskId = "";
|
||||||
if (model.getMethodId().contains("process.")) {
|
if (model.getMethodId().contains("process.")) {
|
||||||
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportPr(wsId, userId, teamId, uuid);
|
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportPr(wsId, userId, teamId, uuid);
|
||||||
|
JSONObject object = JSONObject.parseObject(taskId);
|
||||||
|
if ("ok".equals(object.getString("result"))) {
|
||||||
|
taskId = object.getJSONObject("data").getString("taskId");
|
||||||
|
}
|
||||||
} else if ("data.form".equals(model.getMethodId())) {
|
} else if ("data.form".equals(model.getMethodId())) {
|
||||||
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportBd(wsId, userId, teamId, uuid);
|
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportBd(wsId, userId, teamId, uuid);
|
||||||
|
JSONObject object = JSONObject.parseObject(taskId);
|
||||||
|
if ("ok".equals(object.getString("result"))) {
|
||||||
|
taskId = object.getJSONObject("data").getString("taskId");
|
||||||
|
}
|
||||||
} else if ("control.policy".equals(model.getMethodId())) {
|
} else if ("control.policy".equals(model.getMethodId())) {
|
||||||
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportZd(wsId, userId, teamId, uuid);
|
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportZd(wsId, userId, teamId, uuid);
|
||||||
|
JSONObject object = JSONObject.parseObject(taskId);
|
||||||
|
if ("ok".equals(object.getString("result"))) {
|
||||||
|
taskId = object.getJSONObject("data").getString("taskId");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return taskId;
|
return taskId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对未创建手册的流程进行创建流程手册
|
* 对未创建手册的流程进行创建流程手册
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user