|
@@ -1,8 +1,11 @@
|
|
|
package com.zhongzheng.controller.polyv;
|
|
|
|
|
|
import com.zhongzheng.common.core.domain.model.LoginUser;
|
|
|
+import com.zhongzheng.common.core.page.TableDataInfo;
|
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
|
import com.zhongzheng.framework.web.service.TokenService;
|
|
|
+import com.zhongzheng.modules.polyv.bo.PolyvVideoQueryBo;
|
|
|
+import com.zhongzheng.modules.polyv.vo.PolyvCataData;
|
|
|
import com.zhongzheng.modules.polyv.vo.PolyvVideoQuerVo;
|
|
|
import com.zhongzheng.modules.polyv.vo.PolyvVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
@@ -18,6 +21,8 @@ import com.zhongzheng.modules.polyv.service.IPolyvVideoService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* 保利威视频信息Controller
|
|
|
*
|
|
@@ -63,63 +68,17 @@ public class PolyvVideoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- /* *//**
|
|
|
- * 查询保利威视频信息列表
|
|
|
- *//*
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取保利威视频信息详细信息
|
|
|
+ */
|
|
|
@ApiOperation("查询保利威视频信息列表")
|
|
|
@PreAuthorize("@ss.hasPermi('modules.polyv:video:list')")
|
|
|
@GetMapping("/list")
|
|
|
- public TableDataInfo<PolyvVideoVo> list(PolyvVideoQueryBo bo) {
|
|
|
- startPage();
|
|
|
- List<PolyvVideoVo> list = iPolyvVideoService.queryList(bo);
|
|
|
- return getDataTable(list);
|
|
|
- }
|
|
|
-
|
|
|
- *//**
|
|
|
- * 导出保利威视频信息列表
|
|
|
- *//*
|
|
|
- @ApiOperation("导出保利威视频信息列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.polyv:video:export')")
|
|
|
- @Log(title = "保利威视频信息", businessType = BusinessType.EXPORT)
|
|
|
- @GetMapping("/export")
|
|
|
- public AjaxResult<PolyvVideoVo> export(PolyvVideoQueryBo bo) {
|
|
|
- List<PolyvVideoVo> list = iPolyvVideoService.queryList(bo);
|
|
|
- ExcelUtil<PolyvVideoVo> util = new ExcelUtil<PolyvVideoVo>(PolyvVideoVo.class);
|
|
|
- return util.exportExcel(list, "保利威视频信息");
|
|
|
- }*/
|
|
|
-
|
|
|
-
|
|
|
-/*
|
|
|
- *//**
|
|
|
- * 新增保利威视频信息
|
|
|
- *//*
|
|
|
- @ApiOperation("新增保利威视频信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.polyv:video:add')")
|
|
|
- @Log(title = "保利威视频信息", businessType = BusinessType.INSERT)
|
|
|
- @PostMapping()
|
|
|
- public AjaxResult<Void> add(@RequestBody PolyvVideoAddBo bo) {
|
|
|
- return toAjax(iPolyvVideoService.insertByAddBo(bo) ? 1 : 0);
|
|
|
+ public AjaxResult<List<PolyvCataData>> list(PolyvVideoQueryBo bo) throws Exception {
|
|
|
+ List<PolyvCataData> list = iPolyvVideoService.queryCataList(bo);
|
|
|
+ return AjaxResult.success(list);
|
|
|
}
|
|
|
|
|
|
- *//**
|
|
|
- * 修改保利威视频信息
|
|
|
- *//*
|
|
|
- @ApiOperation("修改保利威视频信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.polyv:video:edit')")
|
|
|
- @Log(title = "保利威视频信息", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping()
|
|
|
- public AjaxResult<Void> edit(@RequestBody PolyvVideoEditBo bo) {
|
|
|
- return toAjax(iPolyvVideoService.updateByEditBo(bo) ? 1 : 0);
|
|
|
- }*/
|
|
|
|
|
|
- /* *//**
|
|
|
- * 删除保利威视频信息
|
|
|
- *//*
|
|
|
- @ApiOperation("删除保利威视频信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.polyv:video:remove')")
|
|
|
- @Log(title = "保利威视频信息" , businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{polyvIds}")
|
|
|
- public AjaxResult<Void> remove(@PathVariable Long[] polyvIds) {
|
|
|
- return toAjax(iPolyvVideoService.deleteWithValidByIds(Arrays.asList(polyvIds), true) ? 1 : 0);
|
|
|
- }*/
|
|
|
}
|