| | |
| | | /** |
| | | * 获取维修物品管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:item:list')") |
| | | @PreAuthorize("@ss.hasPermi('houseManage:list:list')") |
| | | @ApiOperation(value = "获取维修物品分页列表") |
| | | @PostMapping(value = "/pageList") |
| | | public R<PageInfo<TItemVO>> pageList(@RequestBody TItemQuery query) { |
| | |
| | | /** |
| | | * 添加维修物品管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:item:add')") |
| | | @PreAuthorize("@ss.hasPermi('houseManage:list:add')") |
| | | @Log(title = "维修物品信息-新增维修物品", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "添加维修物品") |
| | | @PostMapping(value = "/add") |
| | |
| | | /** |
| | | * 修改维修物品 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:item:update')") |
| | | @PreAuthorize("@ss.hasPermi('houseManage:list:edit')") |
| | | @Log(title = "维修物品信息-修改维修物品", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "修改维修物品") |
| | | @PostMapping(value = "/update") |
| | |
| | | /** |
| | | * 删除维修物品 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:item:delete')") |
| | | @PreAuthorize("@ss.hasPermi('houseManage:list:delete')") |
| | | @Log(title = "维修物品信息-删除维修物品", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除维修物品") |
| | | @DeleteMapping(value = "/deleteById") |
| | |
| | | /** |
| | | * 批量删除维修物品 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:item:delete')") |
| | | @PreAuthorize("@ss.hasPermi('houseManage:list:delete')") |
| | | @Log(title = "维修物品信息-删除维修物品", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "批量删除维修物品") |
| | | @DeleteMapping(value = "/deleteByIds") |