|
@@ -482,7 +482,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
} else {
|
|
|
Tenant tenant = tenantMapper.queryById(processDefinition.getTenantId());
|
|
|
if (tenant != null) {
|
|
@@ -576,7 +576,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
if (processDefinition.getReleaseState() == ReleaseState.ONLINE) {
|
|
@@ -699,7 +699,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
}
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -711,7 +711,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
|
|
|
|
|
|
if (processDefinition.getReleaseState() == ReleaseState.ONLINE) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_STATE_ONLINE, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_STATE_ONLINE, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -777,7 +777,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
switch (releaseState) {
|
|
@@ -1341,7 +1341,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
logger.info("process define not exists");
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
DagData dagData = processService.genDagData(processDefinition);
|
|
@@ -1487,7 +1487,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (null == processDefinition || projectCode != processDefinition.getProjectCode()) {
|
|
|
logger.info("process define not exists");
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
DAG<String, TaskNode, TaskNodeRelation> dag = processService.genDagGraph(processDefinition);
|
|
@@ -1897,7 +1897,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
} else {
|
|
|
if (processDefinition.getVersion() == version) {
|
|
|
putMsg(result, Status.MAIN_TABLE_USING_VERSION);
|
|
@@ -2085,7 +2085,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
|
|
|
if (processDefinition == null || projectCode != processDefinition.getProjectCode()) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
if (processDefinition.getReleaseState() == ReleaseState.ONLINE) {
|
|
@@ -2186,7 +2186,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
|
|
|
|
|
|
ProcessDefinition processDefinition = processDefinitionMapper.queryByCode(code);
|
|
|
if (processDefinition == null) {
|
|
|
- putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, code);
|
|
|
+ putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, String.valueOf(code));
|
|
|
return result;
|
|
|
}
|
|
|
Schedule scheduleObj = scheduleMapper.queryByProcessDefinitionCode(code);
|