提交 97d09e1d 编写于 作者: 张世鸣

init

上级 82fee46d
......@@ -782,13 +782,6 @@ public class ProcessDefinitionService extends BaseDAGService {
processDefinitionName, 1);
}
// unique check
result = verifyProcessDefinitionName(loginUser, currentProjectName, processDefinitionName);
Status status = (Status) result.get(Constants.STATUS);
if (!Status.SUCCESS.equals(status)) {
return false;
}
// get create process result
Map<String, Object> createProcessResult =
getCreateProcessResult(loginUser,
......
......@@ -415,7 +415,6 @@ CREATE TABLE `t_ds_process_definition` (
`modify_by` varchar(255) DEFAULT NULL,
`resource_ids` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `process_definition_unique` (`name`,`project_id`),
KEY `process_definition_index` (`project_id`,`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册