guoshilong
2024-03-23 f04487fef5ac47380dfa9670156743c9d273966b
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,17 @@
   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";
   String GET_MY_TODO_LIST = API_PREFIX +  "/getMyToDoList";
   String GET_MY_DONE_LIST = API_PREFIX +  "/getMyDoneList";
   String GET_MY_DONE_PAGE= API_PREFIX +  "/getMyDonePage";
   /**
    * 开启流程
@@ -117,5 +129,22 @@
    * @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);
   @PostMapping(GET_MY_TODO_LIST)
   List<BladeFlow> getMyToDoList(@RequestBody BladeFlow bladeFlow,@RequestParam("currentUserId") String currentUserId);
   @PostMapping(GET_MY_DONE_LIST)
   List<BladeFlow> getMyDoneList(@RequestBody BladeFlow bladeFlow,@RequestParam("currentUserId") String currentUserId);
   @PostMapping(GET_MY_DONE_PAGE)
   List<BladeFlow> getMyDonePage(@RequestBody BladeFlow bladeFlow, @RequestParam("currentUserId")String currentUserId, @RequestParam("current")Integer current,@RequestParam("size") Integer size);
}