
5 changed files with 92 additions and 9 deletions
@ -0,0 +1,34 @@ |
|||
package com.yxt.anrui.flowable.api.flow3; |
|||
|
|||
import com.yxt.anrui.flowable.api.flow.UpdateFlowFieldVo; |
|||
import com.yxt.anrui.flowable.api.flow2.FlowFeignback; |
|||
import com.yxt.anrui.flowable.sqloperationsymbol.BusinessVariables; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2025/2/12 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "anrui-flowable-Flow3", |
|||
name = "anrui-flowable", |
|||
path = "v3/flow", |
|||
fallback = Flow3Feignback.class) |
|||
public interface Flow3Feign { |
|||
|
|||
@ApiOperation(value = "启动流程") |
|||
@PostMapping(value = "/startProcess") |
|||
@ResponseBody |
|||
ResultBean<UpdateFlowFieldVo> startProcess(@RequestBody BusinessVariables dto); |
|||
|
|||
@ApiOperation(value = "处理流程") |
|||
@PostMapping(value = "/handleProsess") |
|||
@ResponseBody |
|||
ResultBean<UpdateFlowFieldVo> handleProsess(@RequestBody BusinessVariables bv); |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.yxt.anrui.flowable.api.flow3; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2025/2/12 |
|||
**/ |
|||
@Component |
|||
public class Flow3Feignback { |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.yxt.anrui.oa.feign.flowable.flow3; |
|||
|
|||
import com.yxt.anrui.oa.feign.flowable.flow.BusinessVariables; |
|||
import com.yxt.anrui.oa.feign.flowable.flow.UpdateFlowFieldVo; |
|||
import com.yxt.anrui.oa.feign.flowable.flow2.FlowDelegateQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
|
|||
@FeignClient( |
|||
contextId = "anrui-flowable-Flow3", |
|||
name = "anrui-flowable", |
|||
path = "v3/flow") |
|||
public interface Flow3Feign { |
|||
|
|||
@ApiOperation(value = "启动流程") |
|||
@PostMapping(value = "/startProcess2") |
|||
@ResponseBody |
|||
ResultBean<UpdateFlowFieldVo> startProcess2(@RequestBody BusinessVariables dto); |
|||
|
|||
} |
Loading…
Reference in new issue