|
|
|
|
@ -40,7 +40,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询Hw资料文件列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:list")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(HwWebDocument hwWebDocument)
|
|
|
|
|
{
|
|
|
|
|
@ -52,7 +52,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出Hw资料文件列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:export")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:export")
|
|
|
|
|
@Log(title = "Hw资料文件", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, HwWebDocument hwWebDocument)
|
|
|
|
|
@ -65,7 +65,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取Hw资料文件详细信息
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:query")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:query")
|
|
|
|
|
@GetMapping(value = "/{documentId}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("documentId") Long documentId)
|
|
|
|
|
{
|
|
|
|
|
@ -75,7 +75,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 新增Hw资料文件
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:add")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:add")
|
|
|
|
|
@Log(title = "Hw资料文件", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody HwWebDocument hwWebDocument)
|
|
|
|
|
@ -86,7 +86,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 修改Hw资料文件
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:edit")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:edit")
|
|
|
|
|
@Log(title = "Hw资料文件", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody HwWebDocument hwWebDocument)
|
|
|
|
|
@ -97,7 +97,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 删除Hw资料文件
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:remove")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:remove")
|
|
|
|
|
@Log(title = "Hw资料文件", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{documentIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] documentIds)
|
|
|
|
|
@ -108,7 +108,7 @@ public class HwWebDocumentController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取安全文件地址
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("portal:hwWebDocument:query")
|
|
|
|
|
// @RequiresPermissions("portal:hwWebDocument:query")
|
|
|
|
|
@Log(title = "获取安全文件地址", businessType = BusinessType.OTHER)
|
|
|
|
|
@PostMapping("/getSecureDocumentAddress")
|
|
|
|
|
public AjaxResult getSecureDocumentAddress(@RequestBody SecureDocumentRequest request)
|
|
|
|
|
|