|
@@ -6,6 +6,7 @@ import com.ningdatech.pmapi.user.util.LoginUserUtil; |
|
|
import com.wflow.bean.dto.WflowModelHistorysDto; |
|
|
import com.wflow.bean.dto.WflowModelHistorysDto; |
|
|
import com.wflow.bean.vo.WflowModelVo; |
|
|
import com.wflow.bean.vo.WflowModelVo; |
|
|
import com.wflow.service.ModelGroupService; |
|
|
import com.wflow.service.ModelGroupService; |
|
|
|
|
|
import com.wflow.workflow.bean.dto.OrgInfoDTO; |
|
|
import com.wflow.workflow.service.ProcessModelService; |
|
|
import com.wflow.workflow.service.ProcessModelService; |
|
|
import io.swagger.annotations.Api; |
|
|
import io.swagger.annotations.Api; |
|
|
import io.swagger.annotations.ApiOperation; |
|
|
import io.swagger.annotations.ApiOperation; |
|
@@ -14,6 +15,8 @@ import lombok.extern.slf4j.Slf4j; |
|
|
import org.springframework.validation.annotation.Validated; |
|
|
import org.springframework.validation.annotation.Validated; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Classname SysProcdefController |
|
|
* @Classname SysProcdefController |
|
|
* @Description |
|
|
* @Description |
|
@@ -64,6 +67,6 @@ public class SysProcDefController { |
|
|
@ApiOperation(value = "系统流程配置发布", notes = "系统流程配置发布") |
|
|
@ApiOperation(value = "系统流程配置发布", notes = "系统流程配置发布") |
|
|
@PostMapping("/deploy/{formId}") |
|
|
@PostMapping("/deploy/{formId}") |
|
|
public String deploy(@Validated @PathVariable String formId) { |
|
|
public String deploy(@Validated @PathVariable String formId) { |
|
|
return processModelService.deployProcess(formId,null); |
|
|
|
|
|
|
|
|
return processModelService.deployProcess(formId,null); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |