新增汇总指定任务接口/queryTaskIndex
This commit is contained in:
@@ -284,6 +284,13 @@ public interface workFlowFeignClient {
|
|||||||
@RequestMapping(value = "/bat-wkflow/queryTaskFirst",method = RequestMethod.GET)
|
@RequestMapping(value = "/bat-wkflow/queryTaskFirst",method = RequestMethod.GET)
|
||||||
BusProcessName queryTaskFirst(@RequestParam("bpnId") String bpnId);
|
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
|
* @param taskCommonQuery
|
||||||
|
|||||||
@@ -303,6 +303,9 @@ public class workFlowFeignClientImpl {
|
|||||||
public BusProcessName queryTaskFirst(@RequestParam("bpnId")String bpnId){
|
public BusProcessName queryTaskFirst(@RequestParam("bpnId")String bpnId){
|
||||||
return workFlowFeignClient.queryTaskFirst(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){
|
public List<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){
|
||||||
List<BusProcessName> busProcessNames = workFlowFeignClient.queryTaskDraft(taskCommonQuery);
|
List<BusProcessName> busProcessNames = workFlowFeignClient.queryTaskDraft(taskCommonQuery);
|
||||||
|
|||||||
@@ -619,6 +619,12 @@ public class WorkFlowController {
|
|||||||
return workFlowFeignClient.queryTaskFirst(bpnId);
|
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 = "查询草稿")
|
@ApiOperation(value = "查询草稿")
|
||||||
@PostMapping("/queryTaskDraft")
|
@PostMapping("/queryTaskDraft")
|
||||||
public PageInfo<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){
|
public PageInfo<BusProcessName> queryTaskDraft(@RequestBody TaskCommonQuery taskCommonQuery){
|
||||||
|
|||||||
Reference in New Issue
Block a user