唐耀东
2022-05-18 163f15f11565405041d58e0db3a17dcaa08f1988
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java
@@ -81,7 +81,7 @@
     * 新增建筑单元
     */
    @ApiOperation("新增建筑单元")
//    @PreAuthorize("@ss.hasPermi('oa:building:add')")
    @PreAuthorize("@ss.hasPermi('oa:building:add')")
    @Log(title = "建筑单元", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -93,7 +93,7 @@
     * 修改建筑单元
     */
    @ApiOperation("修改建筑单元")
//    @PreAuthorize("@ss.hasPermi('oa:building:edit')")
    @PreAuthorize("@ss.hasPermi('oa:building:edit')")
    @Log(title = "建筑单元", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -105,7 +105,7 @@
     * 删除建筑单元
     */
    @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("主键串")