| | |
| | | @Operation(summary = "获取仓库审批配置") |
| | | @Parameter(name = "warehouseId", description = "仓库ID", required = true) |
| | | @Parameter(name = "bizType", description = "业务类型", required = true) |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-warehouse:query')") |
| | | public CommonResult<WmsWarehouseApprovalConfigDO> getApprovalConfig( |
| | | @RequestParam("warehouseId") Long warehouseId, |
| | | @RequestParam("bizType") String bizType) { |
| | |
| | | @GetMapping("/config/list") |
| | | @Operation(summary = "获取仓库所有审批配置") |
| | | @Parameter(name = "warehouseId", description = "仓库ID", required = true) |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-warehouse:query')") |
| | | public CommonResult<List<WmsWarehouseApprovalConfigDO>> getApprovalConfigList( |
| | | @RequestParam("warehouseId") Long warehouseId) { |
| | | return success(approvalService.getApprovalConfigList(warehouseId)); |
| | |
| | | @Operation(summary = "获取可用的审批流程列表") |
| | | @Parameter(name = "warehouseId", description = "仓库ID", required = true) |
| | | @Parameter(name = "bizType", description = "业务类型", required = true) |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-warehouse:query')") |
| | | public CommonResult<List<BpmProcessDefinitionInfoDO>> getAvailableProcessList( |
| | | @RequestParam("warehouseId") Long warehouseId, |
| | | @RequestParam("bizType") String bizType) { |