From 4fc7f3a0b9d0f2b385e87fb2ee27cbeafcc35ea5 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期四, 18 八月 2022 14:16:00 +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