| | |
| | | /** |
| | | * 查询焊缝列表 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:list") |
| | | @RequiresPermissions("weldSeam:weldSeam:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsWeldSeam apsWeldSeam) { |
| | | // startPage(); |
| | |
| | | /** |
| | | * 导出焊缝列表 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:export") |
| | | @RequiresPermissions("weldSeam:weldSeam:export") |
| | | @Log(title = "焊缝", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsWeldSeam apsWeldSeam) { |
| | |
| | | /** |
| | | * 获取焊缝详细信息 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:query") |
| | | @RequiresPermissions("weldSeam:weldSeam:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return success(apsWeldSeamService.selectApsWeldSeamById(id)); |
| | |
| | | /** |
| | | * 新增焊缝 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:add") |
| | | @RequiresPermissions("weldSeam:weldSeam:add") |
| | | @Log(title = "焊缝", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ApsWeldSeam apsWeldSeam) { |
| | |
| | | /** |
| | | * 修改焊缝 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:edit") |
| | | @RequiresPermissions("weldSeam:weldSeam:edit") |
| | | @Log(title = "焊缝", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsWeldSeam apsWeldSeam) { |
| | |
| | | /** |
| | | * 删除焊缝 |
| | | */ |
| | | @RequiresPermissions("gasPiping:gasPiping:remove") |
| | | @RequiresPermissions("weldSeam:weldSeam:remove") |
| | | @Log(title = "焊缝", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) { |