| | |
| | | * 新增建筑单元 |
| | | */ |
| | | @ApiOperation("新增建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:add')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:add')") |
| | | @Log(title = "建筑单元", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改建筑单元 |
| | | */ |
| | | @ApiOperation("修改建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:edit')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:edit')") |
| | | @Log(title = "建筑单元", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除建筑单元 |
| | | */ |
| | | @ApiOperation("删除建筑单元") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:remove')") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:remove')") |
| | | @Log(title = "建筑单元" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |