| | |
| | | * 查询BOM Header 数据管理列表 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:list") |
| | | @RequiresPermissions("aps:ApsBomHeader:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsBomHeader apsBomHeader) |
| | | { |
| | |
| | | * 导出BOM Header 数据管理列表 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:export") |
| | | @RequiresPermissions("Aps:ApsBomHeader:export") |
| | | @Log(title = "BOM Header 数据管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsBomHeader apsBomHeader) |
| | |
| | | * 获取BOM Header 数据管理详细信息 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:query") |
| | | @RequiresPermissions("Aps:ApsBomHeader:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增BOM Header 数据管理 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:add") |
| | | @RequiresPermissions("Aps:ApsBomHeader:add") |
| | | @Log(title = "BOM Header 数据管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ApsBomHeader apsBomHeader) |
| | |
| | | * 修改BOM Header 数据管理 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:edit") |
| | | @RequiresPermissions("Aps:ApsBomHeader:edit") |
| | | @Log(title = "BOM Header 数据管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsBomHeader apsBomHeader) |
| | |
| | | * 删除BOM Header 数据管理 |
| | | */ |
| | | |
| | | @RequiresPermissions("ApsBomHeader:ApsBomHeader:remove") |
| | | @RequiresPermissions("Aps:ApsBomHeader:remove") |
| | | @Log(title = "BOM Header 数据管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(apsBomHeaderService.deleteApsBomHeaderByIds(ids)); |
| | | } |
| | | |
| | | @PostMapping("/test") |
| | | public void test() |
| | | { |
| | | apsBomHeaderService.setBomDataToRedis("FORTUNA"); |
| | | } |
| | | } |