唐耀东
2022-07-16 e667b280a7fd77dd7fad81c66dba2cef9936d422
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java
@@ -49,7 +49,7 @@
     */
    @DataDictClass
    @ApiOperation("查询服务器列表")
    @PreAuthorize("@ss.hasPermi('oa:server:list')")
//    @PreAuthorize("@ss.hasPermi('oa:server:list')")
    @GetMapping("/list")
    public TableDataInfo<SgServerVo> list(@Validated(QueryGroup.class) SgServerBo bo) {
        return iSgServerService.queryPageList(bo);
@@ -59,7 +59,7 @@
     * 导出服务器列表
     */
    @ApiOperation("导出服务器列表")
    @PreAuthorize("@ss.hasPermi('oa:server:export')")
//    @PreAuthorize("@ss.hasPermi('oa:server:export')")
    @Log(title = "服务器", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public void export(@Validated SgServerBo bo, HttpServletResponse response) {
@@ -71,7 +71,7 @@
     * 获取服务器详细信息
     */
    @ApiOperation("获取服务器详细信息")
    @PreAuthorize("@ss.hasPermi('oa:server:query')")
//    @PreAuthorize("@ss.hasPermi('oa:server:query')")
    @GetMapping("/{id}")
    public AjaxResult<SgServerVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -83,7 +83,7 @@
     * 新增服务器
     */
    @ApiOperation("新增服务器")
    @PreAuthorize("@ss.hasPermi('oa:server:add')")
//    @PreAuthorize("@ss.hasPermi('oa:server:add')")
    @Log(title = "服务器", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -95,7 +95,7 @@
     * 修改服务器
     */
    @ApiOperation("修改服务器")
    @PreAuthorize("@ss.hasPermi('oa:server:edit')")
//    @PreAuthorize("@ss.hasPermi('oa:server:edit')")
    @Log(title = "服务器", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -107,7 +107,7 @@
     * 删除服务器
     */
    @ApiOperation("删除服务器")
    @PreAuthorize("@ss.hasPermi('oa:server:remove')")
//    @PreAuthorize("@ss.hasPermi('oa:server:remove')")
    @Log(title = "服务器" , businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult<Void> remove(@ApiParam("主键串")