唐耀东
2022-05-18 163f15f11565405041d58e0db3a17dcaa08f1988
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgAiController.java
@@ -50,7 +50,7 @@
     */
    @DataDictClass
    @ApiOperation("查询AI设备列表")
    @PreAuthorize("@ss.hasPermi('oa:ai:list')")
//    @PreAuthorize("@ss.hasPermi('oa:ai:list')")
    @GetMapping("/list")
    public TableDataInfo<SgAiVo> list(@Validated(QueryGroup.class) SgAiBo bo) {
        return iSgAiService.queryPageList(bo);
@@ -72,7 +72,7 @@
     * 获取AI设备详细信息
     */
    @ApiOperation("获取AI设备详细信息")
    @PreAuthorize("@ss.hasPermi('oa:ai:query')")
//    @PreAuthorize("@ss.hasPermi('oa:ai:query')")
    @GetMapping("/{id}")
    public AjaxResult<SgAiVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -84,7 +84,7 @@
     * 新增AI设备
     */
    @ApiOperation("新增AI设备")
    @PreAuthorize("@ss.hasPermi('oa:ai:add')")
//    @PreAuthorize("@ss.hasPermi('oa:ai:add')")
    @Log(title = "AI设备", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -96,7 +96,7 @@
     * 修改AI设备
     */
    @ApiOperation("修改AI设备")
    @PreAuthorize("@ss.hasPermi('oa:ai:edit')")
//    @PreAuthorize("@ss.hasPermi('oa:ai:edit')")
    @Log(title = "AI设备", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -108,7 +108,7 @@
     * 删除AI设备
     */
    @ApiOperation("删除AI设备")
    @PreAuthorize("@ss.hasPermi('oa:ai:remove')")
//    @PreAuthorize("@ss.hasPermi('oa:ai:remove')")
    @Log(title = "AI设备" , businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult<Void> remove(@ApiParam("主键串")