瀏覽代碼

-修改:整改记录历史

jiangbiao 2 年之前
父節點
當前提交
40a8b62465

+ 13 - 20
master/src/main/java/com/ruoyi/project/production/controller/TFivesRecordDetailsController.java

@@ -1,24 +1,17 @@
 package com.ruoyi.project.production.controller;
 
-import java.util.List;
-import org.springframework.security.access.prepost.PreAuthorize;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.PutMapping;
-import org.springframework.web.bind.annotation.DeleteMapping;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.utils.poi.ExcelUtil;
 import com.ruoyi.framework.aspectj.lang.annotation.Log;
 import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
-import com.ruoyi.project.production.domain.TFivesRecordDetails;
-import com.ruoyi.project.production.service.ITFivesRecordDetailsService;
 import com.ruoyi.framework.web.controller.BaseController;
 import com.ruoyi.framework.web.domain.AjaxResult;
-import com.ruoyi.common.utils.poi.ExcelUtil;
 import com.ruoyi.framework.web.page.TableDataInfo;
+import com.ruoyi.project.production.domain.TFivesRecordDetails;
+import com.ruoyi.project.production.service.ITFivesRecordDetailsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
 
 /**
  * 整改记录详情Controller
@@ -36,7 +29,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 查询整改记录详情列表
      */
-    @PreAuthorize("@ss.hasPermi('production:details:list')")
+    //@PreAuthorize("@ss.hasPermi('production:details:list')")
     @GetMapping("/list")
     public TableDataInfo list(TFivesRecordDetails tFivesRecordDetails)
     {
@@ -48,7 +41,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 导出整改记录详情列表
      */
-    @PreAuthorize("@ss.hasPermi('production:details:export')")
+   // @PreAuthorize("@ss.hasPermi('production:details:export')")
     @Log(title = "整改记录详情", businessType = BusinessType.EXPORT)
     @GetMapping("/export")
     public AjaxResult export(TFivesRecordDetails tFivesRecordDetails)
@@ -61,7 +54,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 获取整改记录详情详细信息
      */
-    @PreAuthorize("@ss.hasPermi('production:details:query')")
+   // @PreAuthorize("@ss.hasPermi('production:details:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
     {
@@ -71,7 +64,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 新增整改记录详情
      */
-    @PreAuthorize("@ss.hasPermi('production:details:add')")
+    //@PreAuthorize("@ss.hasPermi('production:details:add')")
     @Log(title = "整改记录详情", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody TFivesRecordDetails tFivesRecordDetails)
@@ -82,7 +75,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 修改整改记录详情
      */
-    @PreAuthorize("@ss.hasPermi('production:details:edit')")
+   // @PreAuthorize("@ss.hasPermi('production:details:edit')")
     @Log(title = "整改记录详情", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody TFivesRecordDetails tFivesRecordDetails)
@@ -93,7 +86,7 @@ public class TFivesRecordDetailsController extends BaseController
     /**
      * 删除整改记录详情
      */
-    @PreAuthorize("@ss.hasPermi('production:details:remove')")
+  //  @PreAuthorize("@ss.hasPermi('production:details:remove')")
     @Log(title = "整改记录详情", businessType = BusinessType.DELETE)
 	@DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)