class ProcessInstanceController {

    @Autowired
    private ProcessInstanceService processInstanceService;

    @GetMapping("/data/OaProcessInstance/{id}")
    @EruptRouter(verifyType = EruptRouter.VerifyType.LOGIN)
    public EruptApiModel getById(@PathVariable("id") Long id) {
        OaProcessInstance byId = processInstanceService.getById(id);
        return EruptApiModel.successApi(byId);
    }

    /**
     * 查询与我相关的流程
     * @return
     */
    @GetMapping("/inst/mine/about")
    @EruptRouter(verifyType = EruptRouter.VerifyType.LOGIN)
    public EruptApiModel getMineAbout(String keywords, int pageIndex, int pageSize) {<FILL_FUNCTION_BODY>}
}

        PageHelper.startPage(pageIndex, pageSize);//分页
        List<OaProcessInstanceHistory> datas = processInstanceService.getMineAbout(keywords, pageIndex, pageSize);
        return EruptApiPageModel.successApi(datas, pageIndex, pageIndex);
    
<no_super_class>