
3 changed files with 48 additions and 1 deletions
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.supervise.flowable.api.flow2; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.supervise.flowable.api.flow.FlowableFallback; |
||||
|
import com.yxt.supervise.flowable.api.flow.UpdateFlowFieldVo; |
||||
|
import com.yxt.supervise.flowable.sqloperationsymbol.BusinessVariables; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/11/30 |
||||
|
**/ |
||||
|
@FeignClient( |
||||
|
contextId = "supervise-flowable-Flow", |
||||
|
name = "supervise-flowable", |
||||
|
path = "v2/flow", |
||||
|
fallback = FlowFeignFallback.class) |
||||
|
public interface FlowFeign { |
||||
|
|
||||
|
@ApiOperation(value = "启动流程") |
||||
|
@PostMapping(value = "/startProcess") |
||||
|
public ResultBean<UpdateFlowFieldVo> startProcess(BusinessVariables bv); |
||||
|
|
||||
|
@ApiOperation(value = "办理") |
||||
|
@PostMapping(value = "/handleProsess") |
||||
|
public ResultBean<UpdateFlowFieldVo> handleProsess(BusinessVariables bv); |
||||
|
|
||||
|
@ApiOperation(value = "加签") |
||||
|
@PostMapping(value = "/delegate") |
||||
|
public ResultBean delegate(FlowDelegateQuery flowDelegateQuery); |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.supervise.flowable.api.flow2; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/11/30 |
||||
|
**/ |
||||
|
@Component |
||||
|
public class FlowFeignFallback { |
||||
|
} |
Loading…
Reference in new issue