唐耀东
2022-05-23 dd296baf6463522b0a534b2eb2bc920a3928cd54
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgExchangeController.java
@@ -49,7 +49,7 @@
     */
    @DataDictClass
    @ApiOperation("查询交换设备列表")
    @PreAuthorize("@ss.hasPermi('oa:exchange:list')")
//    @PreAuthorize("@ss.hasPermi('oa:exchange:list')")
    @GetMapping("/list")
    public TableDataInfo<SgExchangeVo> list(@Validated(QueryGroup.class) SgExchangeBo bo) {
        return iSgExchangeService.queryPageList(bo);
@@ -71,7 +71,7 @@
     * 获取交换设备详细信息
     */
    @ApiOperation("获取交换设备详细信息")
    @PreAuthorize("@ss.hasPermi('oa:exchange:query')")
//    @PreAuthorize("@ss.hasPermi('oa:exchange:query')")
    @GetMapping("/{id}")
    public AjaxResult<SgExchangeVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -83,7 +83,7 @@
     * 新增交换设备
     */
    @ApiOperation("新增交换设备")
    @PreAuthorize("@ss.hasPermi('oa:exchange:add')")
//    @PreAuthorize("@ss.hasPermi('oa:exchange:add')")
    @Log(title = "交换设备", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -95,7 +95,7 @@
     * 修改交换设备
     */
    @ApiOperation("修改交换设备")
    @PreAuthorize("@ss.hasPermi('oa:exchange:edit')")
//    @PreAuthorize("@ss.hasPermi('oa:exchange:edit')")
    @Log(title = "交换设备", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -107,7 +107,7 @@
     * 删除交换设备
     */
    @ApiOperation("删除交换设备")
    @PreAuthorize("@ss.hasPermi('oa:exchange:remove')")
//    @PreAuthorize("@ss.hasPermi('oa:exchange:remove')")
    @Log(title = "交换设备" , businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult<Void> remove(@ApiParam("主键串")