| | |
| | | */ |
| | | @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); |
| | |
| | | * 获取软件系统详细信息 |
| | | */ |
| | | @ApiOperation("获取软件系统详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgSystemVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增软件系统 |
| | | */ |
| | | @ApiOperation("新增软件系统") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:add')") |
| | | @Log(title = "软件系统", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改软件系统 |
| | | */ |
| | | @ApiOperation("修改软件系统") |
| | | @PreAuthorize("@ss.hasPermi('oa:system:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:system:edit')") |
| | | @Log(title = "软件系统", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除软件系统 |
| | | */ |
| | | @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("主键串") |