权限问题
This commit is contained in:
@@ -2,6 +2,8 @@ package com.ruoyi.work.controller;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.common.annotation.Anonymous;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@@ -23,7 +25,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 出库未完成任务Controller
|
* 出库未完成任务Controller
|
||||||
*
|
*
|
||||||
* @author gw
|
* @author gw
|
||||||
* @date 2025-06-04
|
* @date 2025-06-04
|
||||||
*/
|
*/
|
||||||
@@ -37,7 +39,7 @@ public class ViewNoDoneOutWorkController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询已完成入库任务列表
|
* 查询已完成入库任务列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('work:list1')")
|
@Anonymous
|
||||||
@GetMapping("/list1")
|
@GetMapping("/list1")
|
||||||
public TableDataInfo list1(ViewNoDoneOutWork viewNoDoneOutWork)
|
public TableDataInfo list1(ViewNoDoneOutWork viewNoDoneOutWork)
|
||||||
{
|
{
|
||||||
@@ -49,7 +51,7 @@ public class ViewNoDoneOutWorkController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询已完成出库任务列表
|
* 查询已完成出库任务列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('work:list2')")
|
@Anonymous
|
||||||
@GetMapping("/list2")
|
@GetMapping("/list2")
|
||||||
public TableDataInfo list2(ViewNoDoneOutWork viewNoDoneOutWork)
|
public TableDataInfo list2(ViewNoDoneOutWork viewNoDoneOutWork)
|
||||||
{
|
{
|
||||||
@@ -61,7 +63,7 @@ public class ViewNoDoneOutWorkController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询未完成入库任务列表
|
* 查询未完成入库任务列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('work:list3')")
|
@Anonymous
|
||||||
@GetMapping("/list3")
|
@GetMapping("/list3")
|
||||||
public TableDataInfo list3(ViewNoDoneOutWork viewNoDoneOutWork)
|
public TableDataInfo list3(ViewNoDoneOutWork viewNoDoneOutWork)
|
||||||
{
|
{
|
||||||
@@ -73,7 +75,7 @@ public class ViewNoDoneOutWorkController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询未完成出库任务列表
|
* 查询未完成出库任务列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('work:list4')")
|
@Anonymous
|
||||||
@GetMapping("/list4")
|
@GetMapping("/list4")
|
||||||
public TableDataInfo list4(ViewNoDoneOutWork viewNoDoneOutWork)
|
public TableDataInfo list4(ViewNoDoneOutWork viewNoDoneOutWork)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user