唐耀东
2022-05-12 5a31b2ea65bc435ae8a57f5a692fc71685e990ad
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/BsBuildingController.java
@@ -69,7 +69,7 @@
     * 获取建筑单元详细信息
     */
    @ApiOperation("获取建筑单元详细信息")
    @PreAuthorize("@ss.hasPermi('oa:building:query')")
//    @PreAuthorize("@ss.hasPermi('oa:building:query')")
    @GetMapping("/{id}")
    public AjaxResult<BsBuildingVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -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("主键串")