From 95f5b5451d01f229ec0c95487a27be0467eecb7b Mon Sep 17 00:00:00 2001
From: liam <2075995406@qq.com>
Date: Tue, 29 Aug 2023 09:22:26 +0800
Subject: [PATCH] bug fix
---
.../zongzhi/controller/TcBjsjController.java | 16 ++++++----------
.../mapper/screen/ZongzhiScreenOpinionMapper.xml | 2 +-
2 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/controller/TcBjsjController.java b/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/controller/TcBjsjController.java
index ae8664c..61f9489 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/controller/TcBjsjController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/zongzhi/controller/TcBjsjController.java
@@ -39,7 +39,7 @@ public class TcBjsjController extends BaseController
/**
* 查询本级上级网评指令比列 (月)列表
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:list')")
+
@GetMapping("/list")
public TableDataInfo list(TcBjsj tcBjsj)
{
@@ -51,8 +51,7 @@ public class TcBjsjController extends BaseController
/**
* 导出本级上级网评指令比列 (月)列表
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:export')")
- @Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.EXPORT)
+
@PostMapping("/export")
public void export(HttpServletResponse response, TcBjsj tcBjsj)
{
@@ -64,7 +63,7 @@ public class TcBjsjController extends BaseController
/**
* 获取本级上级网评指令比列 (月)详细信息
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:query')")
+
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@@ -74,8 +73,7 @@ public class TcBjsjController extends BaseController
/**
* 新增本级上级网评指令比列 (月)
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:add')")
- @Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.INSERT)
+
@PostMapping
public AjaxResult add(@RequestBody TcBjsj tcBjsj)
{
@@ -85,8 +83,7 @@ public class TcBjsjController extends BaseController
/**
* 修改本级上级网评指令比列 (月)
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:edit')")
- @Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.UPDATE)
+
@PutMapping
public AjaxResult edit(@RequestBody TcBjsj tcBjsj)
{
@@ -96,8 +93,7 @@ public class TcBjsjController extends BaseController
/**
* 删除本级上级网评指令比列 (月)
*/
- @PreAuthorize("@ss.hasPermi('zongzhi:bjsj:remove')")
- @Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.DELETE)
+
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
diff --git a/ruoyi-system/src/main/resources/mapper/screen/ZongzhiScreenOpinionMapper.xml b/ruoyi-system/src/main/resources/mapper/screen/ZongzhiScreenOpinionMapper.xml
index cc6cad9..6ecbeb1 100644
--- a/ruoyi-system/src/main/resources/mapper/screen/ZongzhiScreenOpinionMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/screen/ZongzhiScreenOpinionMapper.xml
@@ -8,7 +8,7 @@