From 83187f51aef5692354bd88ed166a748e32cc78fb Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期一, 22 八月 2022 10:58:46 +0800 Subject: [PATCH] 规章制度去掉发布版本验证 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java index 37eaf43..bb871c4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIpcController.java @@ -53,7 +53,7 @@ */ @DataDictClass @ApiOperation("鏌ヨipc璁惧鍒楄〃") - @PreAuthorize("@ss.hasPermi('oa:ipc:list')") +// @PreAuthorize("@ss.hasPermi('oa:ipc:list')") @GetMapping("/list") public TableDataInfo<SgIpcVo> list(@Validated(QueryGroup.class) SgIpcBo bo) { return iSgIpcService.queryPageList(bo); @@ -75,7 +75,7 @@ * 鑾峰彇ipc璁惧璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇ipc璁惧璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('oa:ipc:query')") +// @PreAuthorize("@ss.hasPermi('oa:ipc:query')") @GetMapping("/{id}") public AjaxResult<SgIpcVo> getInfo(@ApiParam("涓婚敭") @NotNull(message = "涓婚敭涓嶈兘涓虹┖") @@ -84,12 +84,12 @@ } /** - * 鑾峰彇ipc璁惧璇︾粏淇℃伅 + * 鑾峰彇涓婁竴鏉′俊鎭� */ - @ApiOperation("鑾峰彇ipc璁惧璇︾粏淇℃伅") + @ApiOperation("鑾峰彇涓婁竴鏉′俊鎭�") @GetMapping("/copy") public AjaxResult copy() { - List<SgIpc> list = iSgIpcService.list(new LambdaQueryWrapper<SgIpc>().orderByDesc(SgIpc::getUpdateTime)); + List<SgIpc> list = iSgIpcService.list(new LambdaQueryWrapper<SgIpc>().orderByDesc(SgIpc::getCreateTime)); if (list.size() == 0) { throw new ServiceException("鏆傛棤鏁版嵁", HttpStatus.HTTP_PARTIAL); } @@ -100,7 +100,7 @@ * 鏂板ipc璁惧 */ @ApiOperation("鏂板ipc璁惧") - @PreAuthorize("@ss.hasPermi('oa:ipc:add')") +// @PreAuthorize("@ss.hasPermi('oa:ipc:add')") @Log(title = "ipc璁惧", businessType = BusinessType.INSERT) @RepeatSubmit() @PostMapping() @@ -112,7 +112,7 @@ * 淇敼ipc璁惧 */ @ApiOperation("淇敼ipc璁惧") - @PreAuthorize("@ss.hasPermi('oa:ipc:edit')") +// @PreAuthorize("@ss.hasPermi('oa:ipc:edit')") @Log(title = "ipc璁惧", businessType = BusinessType.UPDATE) @RepeatSubmit() @PutMapping() @@ -124,7 +124,7 @@ * 鍒犻櫎ipc璁惧 */ @ApiOperation("鍒犻櫎ipc璁惧") - @PreAuthorize("@ss.hasPermi('oa:ipc:remove')") +// @PreAuthorize("@ss.hasPermi('oa:ipc:remove')") @Log(title = "ipc璁惧" , businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�") -- Gitblit v1.9.1