根据流程实例id查询流程历史接口。

This commit is contained in:
wangzhijiang
2022-05-09 16:38:16 +08:00
parent c53310b294
commit f03a11a3fa
3 changed files with 28 additions and 0 deletions
@@ -140,4 +140,11 @@ public class workFlowController {
return workFlowFeignClient.modelListPage(name,category_id,current,size);
}
@AutoLog(value = "根据流程实例id查询流程历史")
@ApiOperation(value="根据流程实例id查询流程历史", notes="根据流程实例id查询流程历史")
@GetMapping("/queryProcessHistoryByPrcId")
public List<Map<String, Object>> queryProcessHistoryByPrcId(@RequestParam("prcId") String prcId,@RequestParam(value="sortWord",required = false)String sortWord,@RequestParam(value="shunxu",required = false) String shunxu){
return workFlowFeignClient.queryProcessHistoryByPrcId(prcId,sortWord,shunxu);
}
}
@@ -117,4 +117,14 @@ public interface WorkFlowFeignClient {
Result<Map<String, Object>> modelListPage(@RequestParam("name")String name, @RequestParam("category_id")String category_id,
@RequestParam("current")int current, @RequestParam("size")int size);
/**
* 根据流程实例id查询流程历史
* @param prcId
* @param sortWord
* @param shunxu
* @return
*/
@RequestMapping(value = "/bat-wkflow/task/queryProcessHistoryByPrcId",method = RequestMethod.GET)
List<Map<String, Object>> queryProcessHistoryByPrcId(@RequestParam("prcId") String prcId, @RequestParam(value="sortWord",required = false)String sortWord, @RequestParam(value="shunxu",required = false) String shunxu);
}
@@ -137,4 +137,15 @@ public class WorkFlowFeignClientImpl{
@RequestParam("current")int current, @RequestParam("size")int size){
return workFlowFeignClient.modelListPage(name,category_id,current,size);
}
/**
* 流程实例明细列表
* @param prcId
* @param sortWord
* @param shunxu
* @return
*/
public List<Map<String, Object>> queryProcessHistoryByPrcId(@RequestParam("prcId") String prcId, @RequestParam(value="sortWord",required = false)String sortWord, @RequestParam(value="shunxu",required = false) String shunxu){
return workFlowFeignClient.queryProcessHistoryByPrcId(prcId,sortWord,shunxu);
}
}