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