龚焕茏
2024-04-16 c139302858be79aa5ca1f823c3ae3d8b1b16d6f5
ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java
@@ -31,7 +31,7 @@
    /**
     * 查询设备资产列表
     */
    @PreAuthorize("@ss.hasPermi('system:video:list')")
//    @PreAuthorize("@ss.hasPermi('system:video:list')")
    @GetMapping("/list")
    public TableDataInfo list(TMonitorVideo tMonitorVideo)
    {
@@ -43,7 +43,7 @@
    /**
     * 导出设备资产列表
     */
    @PreAuthorize("@ss.hasPermi('system:video:export')")
//    @PreAuthorize("@ss.hasPermi('system:video:export')")
    @Log(title = "设备资产", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, TMonitorVideo tMonitorVideo)
@@ -56,7 +56,7 @@
    /**
     * 获取设备资产详细信息
     */
    @PreAuthorize("@ss.hasPermi('system:video:query')")
//    @PreAuthorize("@ss.hasPermi('system:video:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
@@ -66,7 +66,7 @@
    /**
     * 新增设备资产
     */
    @PreAuthorize("@ss.hasPermi('system:video:add')")
//    @PreAuthorize("@ss.hasPermi('system:video:add')")
    @Log(title = "设备资产", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody TMonitorVideo tMonitorVideo)
@@ -77,7 +77,7 @@
    /**
     * 修改设备资产
     */
    @PreAuthorize("@ss.hasPermi('system:video:edit')")
//    @PreAuthorize("@ss.hasPermi('system:video:edit')")
    @Log(title = "设备资产", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody TMonitorVideo tMonitorVideo)
@@ -88,7 +88,7 @@
    /**
     * 删除设备资产
     */
    @PreAuthorize("@ss.hasPermi('system:video:remove')")
//    @PreAuthorize("@ss.hasPermi('system:video:remove')")
    @Log(title = "设备资产", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)