新增汇总指定任务接口/queryTaskIndex
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user