| | |
| | | /** |
| | | * 查询BOM数据管理列表 |
| | | */ |
| | | @RequiresPermissions("apsBom:list") |
| | | @RequiresPermissions("Aps:apsBom:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsBom apsBom) |
| | | { |
| | | startPage(); |
| | | // startPage(); |
| | | List<ApsBom> list = apsBomService.selectApsBomList(apsBom); |
| | | return getDataTable(list); |
| | | } |
| | |
| | | /** |
| | | * 导出BOM数据管理列表 |
| | | */ |
| | | @RequiresPermissions("apsBom:export") |
| | | @RequiresPermissions("Aps:apsBom:export") |
| | | @Log(title = "BOM数据管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsBom apsBom) |
| | |
| | | /** |
| | | * 获取BOM数据管理详细信息 |
| | | */ |
| | | @RequiresPermissions("apsBom:query") |
| | | @RequiresPermissions("Aps:apsBom:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增BOM数据管理 |
| | | */ |
| | | @RequiresPermissions("apsBom:add") |
| | | @RequiresPermissions("Aps:apsBom:add") |
| | | @Log(title = "BOM数据管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ApsBom apsBom) |
| | |
| | | /** |
| | | * 修改BOM数据管理 |
| | | */ |
| | | @RequiresPermissions("apsBom:edit") |
| | | @RequiresPermissions("Aps:apsBom:edit") |
| | | @Log(title = "BOM数据管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsBom apsBom) |
| | |
| | | /** |
| | | * 删除BOM数据管理 |
| | | */ |
| | | @RequiresPermissions("apsBom:remove") |
| | | @RequiresPermissions("Aps:apsBom:remove") |
| | | @Log(title = "BOM数据管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |