赵士淞
2023-05-09 ffd4647937a714a0ef9a900afc62f92f20d8fca6
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/business/rest/BusinessExpenseFlowableController.java
@@ -27,6 +27,9 @@
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @website https://eladmin.vip
* @author 赵士淞
@@ -80,4 +83,12 @@
        businessExpenseFlowableService.reject(processInstanceId);
        return new ResponseEntity<>(HttpStatus.OK);
    }
    @GetMapping(value = "/processDiagram")
    @Log("查询营业费用流程图(Flowable)")
    @ApiOperation("查询营业费用流程图(Flowable)")
    @PreAuthorize("@el.check('businessExpense:list')")
    public void processDiagramBusinessExpense(HttpServletRequest request, HttpServletResponse response, @RequestParam String processInstanceId) throws Exception {
        businessExpenseFlowableService.processDiagram(request, response, processInstanceId);
    }
}