| | |
| | | /** |
| | | * 查询气体管路计划管理列表 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:list") |
| | | @RequiresPermissions("gasPiping:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsGasPipingPlan apsGasPipingPlan) |
| | | { |
| | |
| | | /** |
| | | * 导出气体管路计划管理列表 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:export") |
| | | @RequiresPermissions("gasPiping:export") |
| | | @Log(title = "气体管路计划管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsGasPipingPlan apsGasPipingPlan) |
| | |
| | | /** |
| | | * 获取气体管路计划管理详细信息 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:query") |
| | | @RequiresPermissions("gasPiping:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) |
| | | { |
| | |
| | | /** |
| | | * 新增气体管路计划管理 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:add") |
| | | @RequiresPermissions("gasPiping:add") |
| | | @Log(title = "气体管路计划管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ApsGasPipingPlan apsGasPipingPlan) |
| | |
| | | /** |
| | | * 修改气体管路计划管理 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:edit") |
| | | @RequiresPermissions("gasPiping:edit") |
| | | @Log(title = "气体管路计划管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsGasPipingPlan apsGasPipingPlan) |
| | |
| | | /** |
| | | * 删除气体管路计划管理 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:remove") |
| | | @RequiresPermissions("gasPiping:remove") |
| | | @Log(title = "气体管路计划管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) |
| | | { |
| | | return toAjax(apsGasPipingPlanService.deleteApsGasPipingPlanByIds(ids)); |
| | | } |
| | | |
| | | /** |
| | | * 气体管路计划导入 |
| | | */ |
| | | @RequiresPermissions("gasPiping:import") |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(MultipartFile file) throws Exception { |
| | | ExcelUtil<ApsGasPipingPlanTemp> util = new ExcelUtil<ApsGasPipingPlanTemp>(ApsGasPipingPlanTemp.class); |
| | |
| | | * @Author: wwj |
| | | * @Date: 2025/4/9 |
| | | */ |
| | | @GetMapping("/confirmGasPiping") |
| | | public AjaxResult confirmGasPiping(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { |
| | | @RequiresPermissions("gasPiping:confirm") |
| | | @PostMapping("/confirmGasPiping") |
| | | public AjaxResult confirmGasPiping(@RequestBody ApsGasPipingPlanTemp apsGasPipingPlanTemp) { |
| | | return toAjax(apsGasPipingPlanService.confirmGasPiping(apsGasPipingPlanTemp)); |
| | | } |
| | | } |