| | |
| | | * 获取建筑单元详细信息 |
| | | */ |
| | | @ApiOperation("获取建筑单元详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:building:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:building:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<BsBuildingVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增建筑单元 |
| | | */ |
| | | @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("主键串") |