|
|
@@ -1,6 +1,8 @@ |
|
|
|
package com.ningdatech.pmapi.sys.controller; |
|
|
|
|
|
|
|
import com.ningdatech.basic.model.PageVo; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.manage.DefaultDeclaredProjectManage; |
|
|
|
import com.ningdatech.pmapi.user.util.LoginUserUtil; |
|
|
|
import com.wflow.bean.dto.WflowModelHistorysDto; |
|
|
|
import com.wflow.bean.vo.WflowModelVo; |
|
|
|
import com.wflow.service.ModelGroupService; |
|
|
@@ -30,6 +32,8 @@ public class SysProcDefController { |
|
|
|
|
|
|
|
private final ProcessModelService processModelService; |
|
|
|
|
|
|
|
private final DefaultDeclaredProjectManage defaultDeclaredProjectManage; |
|
|
|
|
|
|
|
@ApiOperation(value = "系统流程配置列表", notes = "系统流程配置列表") |
|
|
|
@GetMapping("/list") |
|
|
|
public PageVo<WflowModelVo> list(@RequestParam String regionCode, @RequestParam(defaultValue = "1") Integer pageNumber, |
|
|
@@ -60,6 +64,6 @@ public class SysProcDefController { |
|
|
|
@ApiOperation(value = "系统流程配置发布", notes = "系统流程配置发布") |
|
|
|
@PostMapping("/deploy/{formId}") |
|
|
|
public String deploy(@Validated @PathVariable String formId) { |
|
|
|
return processModelService.deployProcess(formId); |
|
|
|
return processModelService.deployProcess(formId,null); |
|
|
|
} |
|
|
|
} |