| | |
| | | } |
| | | |
| | | //查询节点(除放电计划之外的) |
| | | public Response searchTmp(int type, int pageNum, int pageSize) { |
| | | public Response searchTmp(int type, int status, int pageNum, int pageSize) { |
| | | UserInf uinf = ActionUtil.getUser(); |
| | | //查询自己需要处理或者审批的 |
| | | PageHelper.startPage(pageNum, pageSize); |
| | | List<WorkflowLink> list = mapper.searchTmp(uinf.getUId().intValue(), uinf.getURole(), type); |
| | | List<WorkflowLink> list = mapper.searchTmp(uinf.getUId().intValue(), uinf.getURole(), type, status); |
| | | PageInfo pageInfo = new PageInfo(list); |
| | | return new Response().setII(1, list == null ? false : true, list, "查询节点(除放电计划之外的)"); |
| | | } |