lxw
2023-08-15 160e150009b51a39fa95d9462c3798ba28d51a09
src/main/java/com/whyc/service/WorkflowLinkService.java
@@ -225,11 +225,11 @@
    }
    //查询节点(除放电计划之外的)
    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, "查询节点(除放电计划之外的)");
    }