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