| | |
| | | * 查询气体管路产能规划列表 |
| | | */ |
| | | @Operation(summary = "查询气体管路产能规划列表", description = "分页查询") |
| | | @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:list") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsGasPipelineCapacityPlan apsGasPipelineCapacityPlan) |
| | | { |
| | |
| | | list.add(apsGasPipelineCapacityPlanTemp); |
| | | } |
| | | } |
| | | list.sort((a, b)->a.getProcessName().compareTo(b.getProcessName())); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | * 导出气体管路产能规划列表 |
| | | */ |
| | | @Operation(summary = "导出气体管路产能规划列表", description = "导出") |
| | | @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:export") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:export") |
| | | @Log(title = "气体管路产能规划", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsGasPipelineCapacityPlan apsGasPipelineCapacityPlan) |
| | |
| | | * 获取气体管路产能规划详细信息 |
| | | */ |
| | | @Operation(summary = "获取气体管路产能规划详细信息", description = "根据id获取") |
| | | @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:query") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增气体管路产能规划 |
| | | */ |
| | | @Operation(summary = "新增气体管路产能规划", description = "单个新增") |
| | | // @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:add") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:add") |
| | | @Log(title = "气体管路产能规划", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody List<ApsGasPipelineCapacityPlan> apsGasPipelineCapacityPlan) |
| | |
| | | * 修改气体管路产能规划 |
| | | */ |
| | | @Operation(summary = "修改气体管路产能规划", description = "单个修改") |
| | | @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:edit") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:edit") |
| | | @Log(title = "气体管路产能规划", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsGasPipelineCapacityPlan apsGasPipelineCapacityPlan) |
| | |
| | | * 删除气体管路产能规划 |
| | | */ |
| | | @Operation(summary = "删除气体管路产能规划", description = "批量删除") |
| | | @RequiresPermissions("gasPipelineCapacityPlan:gasPipelineCapacityPlan:remove") |
| | | @RequiresPermissions("aps:gasPipelineCapacityPlan:remove") |
| | | @Log(title = "气体管路产能规划", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |