|
|
@@ -34,7 +34,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
@Resource
|
|
|
private IProdInventoryBillService prodInventoryBillService;
|
|
|
|
|
|
- @RequiresPermissions("business:product:inventory:view")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@GetMapping("/inventory")
|
|
|
public String prodInventory() {
|
|
|
return prefix + "/prodInventory";
|
|
|
@@ -43,7 +43,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
/**
|
|
|
* 查询商品库存列表
|
|
|
*/
|
|
|
- @RequiresPermissions("business:prodInventory:list")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@PostMapping("/inventory/list")
|
|
|
@ResponseBody
|
|
|
public TableDataInfo inventoryList(ProdInventoryVo prodInventoryVo) {
|
|
|
@@ -55,7 +55,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
- @RequiresPermissions("business:product:inventory:view")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@GetMapping("/mercInventory/{mercId}")
|
|
|
public String inventory(@PathVariable("mercId") Long mercId, ModelMap mmap) {
|
|
|
mmap.put("mercId", mercId);
|
|
|
@@ -65,7 +65,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
/**
|
|
|
* 查询商品库存列表
|
|
|
*/
|
|
|
- @RequiresPermissions("business:prodInventory:list")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@PostMapping("/mercInventory/list")
|
|
|
@ResponseBody
|
|
|
public TableDataInfo mercInventoryList(ProdInventoryVo prodInventoryVo) {
|
|
|
@@ -77,7 +77,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
/**
|
|
|
* 新增保存商品库存
|
|
|
*/
|
|
|
- @RequiresPermissions("business:prodInventory:add")
|
|
|
+ @RequiresPermissions("business:prodInventory:edit")
|
|
|
@Log(title = "商品库存", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/mercInventory/add")
|
|
|
@ResponseBody
|
|
|
@@ -88,7 +88,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
/**
|
|
|
* 新增保存商品库存
|
|
|
*/
|
|
|
- @RequiresPermissions("business:prodInventory:detail")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@GetMapping("/inventory/detail/{prodInventoryId}")
|
|
|
public String detail(@PathVariable("prodInventoryId") Long prodInventoryId, ModelMap mmap) {
|
|
|
mmap.put("prodInventoryId", prodInventoryId);
|
|
|
@@ -98,7 +98,7 @@ public class ProdInventoryController extends BaseController {
|
|
|
/**
|
|
|
* 新增保存商品库存
|
|
|
*/
|
|
|
- @RequiresPermissions("business:prodInventory:detail")
|
|
|
+ @RequiresPermissions("business:prodInventory:view")
|
|
|
@PostMapping("/inventory/detailList")
|
|
|
@ResponseBody
|
|
|
public TableDataInfo detailList(ProdInventoryBill prodInventoryBill) {
|