新增汇总指定任务接口/queryTaskIndex

This commit is contained in:
cuijiaming
2022-12-14 13:34:44 +08:00
parent f95be0577b
commit 1c2df15b00
3 changed files with 16 additions and 0 deletions
@@ -284,6 +284,13 @@ public interface workFlowFeignClient {
@RequestMapping(value = "/bat-wkflow/queryTaskFirst",method = RequestMethod.GET)
BusProcessName queryTaskFirst(@RequestParam("bpnId") String bpnId);
/**
* 查询指定任务index
* @param bpnId
* @return
*/
@RequestMapping(value = "/bat-wkflow/queryTaskIndex",method = RequestMethod.GET)
BusProcessName queryTaskIndex(@RequestParam("bpnId") String bpnId,@RequestParam("index")Integer index);
/**
* 查询草稿
* @param taskCommonQuery
@@ -303,6 +303,9 @@ public class workFlowFeignClientImpl {
public BusProcessName queryTaskFirst(@RequestParam("bpnId")String bpnId){
return workFlowFeignClient.queryTaskFirst(bpnId);
}
public BusProcessName queryTaskIndex(@RequestParam("bpnId") String bpnId,@RequestParam("index")Integer index){
return workFlowFeignClient.queryTaskIndex(bpnId,index);
}
public List<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){
List<BusProcessName> busProcessNames = workFlowFeignClient.queryTaskDraft(taskCommonQuery);
@@ -619,6 +619,12 @@ public class WorkFlowController {
return workFlowFeignClient.queryTaskFirst(bpnId);
}
@ApiOperation(value = "查询任务第index步")
@GetMapping("/queryTaskIndex")
public BusProcessName queryTaskIndex(@RequestParam("bpnId") String bpnId,@RequestParam("index")Integer index){
return workFlowFeignClient.queryTaskIndex(bpnId,index);
}
@ApiOperation(value = "查询草稿")
@PostMapping("/queryTaskDraft")
public PageInfo<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){