唐耀东
2022-07-16 e667b280a7fd77dd7fad81c66dba2cef9936d422
ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgReserveIpController.java
@@ -49,7 +49,7 @@
     */
    @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);
@@ -59,7 +59,7 @@
     * 导出预留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) {
@@ -71,7 +71,7 @@
     * 获取预留IP详细信息
     */
    @ApiOperation("获取预留IP详细信息")
    @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')")
//    @PreAuthorize("@ss.hasPermi('oa:reserveIp:query')")
    @GetMapping("/{id}")
    public AjaxResult<SgReserveIpVo> getInfo(@ApiParam("主键")
                                                  @NotNull(message = "主键不能为空")
@@ -83,7 +83,7 @@
     * 新增预留IP
     */
    @ApiOperation("新增预留IP")
    @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')")
//    @PreAuthorize("@ss.hasPermi('oa:reserveIp:add')")
    @Log(title = "预留IP", businessType = BusinessType.INSERT)
    @RepeatSubmit()
    @PostMapping()
@@ -95,7 +95,7 @@
     * 修改预留IP
     */
    @ApiOperation("修改预留IP")
    @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')")
//    @PreAuthorize("@ss.hasPermi('oa:reserveIp:edit')")
    @Log(title = "预留IP", businessType = BusinessType.UPDATE)
    @RepeatSubmit()
    @PutMapping()
@@ -107,7 +107,7 @@
     * 删除预留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("主键串")