修改/queryTaskIndex接口中的查询功能2

This commit is contained in:
dingbingqing
2022-12-15 14:55:43 +08:00
parent bcb2fb738f
commit 163b59a05c
3 changed files with 7 additions and 9 deletions
@@ -285,12 +285,12 @@ public interface workFlowFeignClient {
BusProcessName queryTaskFirst(@RequestParam("bpnId") String bpnId);
/**
* 查询指定任务index
* 查询指定任务
* @param prcId
* @return
*/
@RequestMapping(value = "/bat-wkflow/queryTaskIndex",method = RequestMethod.GET)
BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId);
BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId,@RequestParam("taskIds") String taskIds);
/**
* 查询草稿
* @param taskCommonQuery
@@ -303,8 +303,8 @@ public class workFlowFeignClientImpl {
public BusProcessName queryTaskFirst(@RequestParam("bpnId")String bpnId){
return workFlowFeignClient.queryTaskFirst(bpnId);
}
public BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId){
return workFlowFeignClient.queryTaskIndex(prcId);
public BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId,@RequestParam("taskIds") String taskIds){
return workFlowFeignClient.queryTaskIndex(prcId,taskIds);
}
public List<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){
@@ -619,12 +619,10 @@ public class WorkFlowController {
return workFlowFeignClient.queryTaskFirst(bpnId);
}
@ApiOperation(value = "查询任务第index步")
@ApiOperation(value = "查询taskid任务")
@GetMapping("/queryTaskIndex")
public BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId){
BusProcessNew busProcessNew = workFlowFeignClient.queryTaskIndex(prcId);
return busProcessNew;
public BusProcessNew queryTaskIndex(@RequestParam("prcId") String prcId,@RequestParam("taskIds") String taskIds){
return workFlowFeignClient.queryTaskIndex(prcId,taskIds);
}
@ApiOperation(value = "查询草稿")