Commit 7e3728d8 authored by zhangyingbin's avatar zhangyingbin

完善基本流程

parent d939b7fc
......@@ -9,7 +9,7 @@ public interface IProjectInitiationService {
* @return 返回instanceId ,加入项目信息表中
* @throws Exception
*/
String start();
String start(Object objectd);
/**
* 执行流程节点,并记录日志
......
......@@ -24,7 +24,7 @@ public class ProjectInitiationController {
@GetMapping(value = "/start")
@ApiOperation(httpMethod = "GET", value = "流程启动", notes = "流程启动")
public ResponseModel<String> start() throws Exception {
return ResponseHelper.buildResponse(projectInitiationServiceImpl.start());
return ResponseHelper.buildResponse(projectInitiationServiceImpl.start(new Object()));
}
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
......
......@@ -70,7 +70,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
@Override
@Transactional(rollbackFor = Exception.class)
public String start() {
public String start(Object objectd) {
String instanceId = null;
try {
ActWorkflowStartDTO dto = new ActWorkflowStartDTO();
......@@ -92,7 +92,7 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
option = "1";
}
//执行审核流程
execute(instanceId, new JSONObject(),option);
execute(instanceId, objectd,option);
return instanceId;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment