| | |
| | | */ |
| | | @DataDictClass |
| | | @ApiOperation("查询预留IP列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo<SgReserveIpVo> list(@Validated(QueryGroup.class) SgReserveIpBo bo) { |
| | | return iSgReserveIpService.queryPageList(bo); |
| | |
| | | * 导出预留IP列表 |
| | | */ |
| | | @ApiOperation("导出预留IP列表") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:export')") |
| | | @Log(title = "预留IP", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public void export(@Validated SgReserveIpBo bo, HttpServletResponse response) { |
| | |
| | | * 获取预留IP详细信息 |
| | | */ |
| | | @ApiOperation("获取预留IP详细信息") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')") |
| | | @GetMapping("/{id}") |
| | | public AjaxResult<SgReserveIpVo> getInfo(@ApiParam("主键") |
| | | @NotNull(message = "主键不能为空") |
| | |
| | | * 新增预留IP |
| | | */ |
| | | @ApiOperation("新增预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')") |
| | | @Log(title = "预留IP", businessType = BusinessType.INSERT) |
| | | @RepeatSubmit() |
| | | @PostMapping() |
| | |
| | | * 修改预留IP |
| | | */ |
| | | @ApiOperation("修改预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')") |
| | | @Log(title = "预留IP", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping() |
| | |
| | | * 删除预留IP |
| | | */ |
| | | @ApiOperation("删除预留IP") |
| | | @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('oa:reserveIp:remove')") |
| | | @Log(title = "预留IP" , businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult<Void> remove(@ApiParam("主键串") |