大屏后台权限修改
This commit is contained in:
@@ -46,7 +46,7 @@ public class JobStatisticsController {
|
|||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public AjaxResult getStockList() {
|
public AjaxResult getStockList() {
|
||||||
// 查询所有库存数据
|
// 查询所有库存数据
|
||||||
List<BasStock> list = basStockService.selectBasStockList(new BasStock());
|
List<BasStock> list = basStockService.selectBasStockListApi(new BasStock());
|
||||||
|
|
||||||
// 截取前50条数据
|
// 截取前50条数据
|
||||||
List<BasStock> topList = list.stream()
|
List<BasStock> topList = list.stream()
|
||||||
|
|||||||
@@ -28,6 +28,13 @@ public interface IBasStockService
|
|||||||
* @return 库存信息集合
|
* @return 库存信息集合
|
||||||
*/
|
*/
|
||||||
public List<BasStock> selectBasStockList(BasStock basStock);
|
public List<BasStock> selectBasStockList(BasStock basStock);
|
||||||
|
/**
|
||||||
|
* 无权限查询库存信息列表
|
||||||
|
*
|
||||||
|
* @param basStock 库存信息
|
||||||
|
* @return 库存信息集合
|
||||||
|
*/
|
||||||
|
public List<BasStock> selectBasStockListApi(BasStock basStock);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增库存信息
|
* 新增库存信息
|
||||||
|
|||||||
@@ -66,6 +66,17 @@ public class BasStockServiceImpl implements IBasStockService
|
|||||||
{
|
{
|
||||||
return basStockMapper.selectBasStockList(basStock);
|
return basStockMapper.selectBasStockList(basStock);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 无权限查询库存信息列表
|
||||||
|
*
|
||||||
|
* @param basStock 库存信息
|
||||||
|
* @return 库存信息集合
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BasStock> selectBasStockListApi(BasStock basStock)
|
||||||
|
{
|
||||||
|
return basStockMapper.selectBasStockList(basStock);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增库存信息
|
* 新增库存信息
|
||||||
|
|||||||
Reference in New Issue
Block a user