xieb
2024-03-05 200f9e99bab7dcab9360f34fa25f6fa97c33c167
skjcmanager/skjcmanager-ops-api/skjcmanager-flow-api/src/main/java/cn/gistack/flow/core/feign/IFlowClient.java
@@ -16,6 +16,8 @@
 */
package cn.gistack.flow.core.feign;
import cn.gistack.flow.core.vo.BladeFlowVO;
import cn.gistack.sm.patrol.vo.BladeFlowPage;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.launch.constant.AppConstant;
import org.springblade.core.tool.api.R;
@@ -47,7 +49,10 @@
   String TASK_VARIABLE = API_PREFIX + "/task-variable";
   String TASK_VARIABLES = API_PREFIX + "/task-variables";
   String TODO_LIST = "/todo-list";
   String DONE_LIST = "/done-list";
   String GET_BLADEFLOW = "/getBladeFlow";
   String HISTORY_FLOW_LIST = "/history-flow-list";
   /**
    * 开启流程
@@ -117,5 +122,13 @@
    * @return R
    */
   @PostMapping(TODO_LIST)
   R<List<BladeFlow>> getTodoBladeFlowList(@RequestParam("size") Integer size,@RequestParam("current") Integer current,@RequestParam("currentUserId") String currentUserId,@RequestBody BladeFlow bladeFlow);
   R<BladeFlowPage> getTodoBladeFlowList(@RequestParam("size") Integer size,@RequestParam("current") Integer current,@RequestParam("currentUserId") String currentUserId,@RequestBody BladeFlow bladeFlow);
   @PostMapping(DONE_LIST)
   R<BladeFlowPage> getDoneBladeFlowList(@RequestParam("size") Integer size, @RequestParam("current") Integer current, @RequestParam("currentUserId") String currentUserId, @RequestBody BladeFlowVO bladeFlow);
   @GetMapping(HISTORY_FLOW_LIST)
   R<List<BladeFlow>> historyFlowList(@RequestParam("processInstanceId") String processInstanceId,@RequestParam("startActivityId") String startActivityId,@RequestParam("endActivityId") String endActivityId);
}