| | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody Equipmentinfo equipmentinfo) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, Equipmentinfo equipmentinfo) { |
| | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(equipmentinfoService.selectEquipmentinfoById(id)); |
| | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody Equipmentinfo equipmentinfo) { |
| | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody Equipmentinfo equipmentinfo) { |
| | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:equipmentinfo:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:equipmentinfo:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |