| | |
| | | /** |
| | | * 查询standard列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:list')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询规则列表") |
| | | public TableDataInfo list(TjStandard tjStandard) { |
| | |
| | | /** |
| | | * 导出standard列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:export')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:export')") |
| | | @Log(title = "standard", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TjStandard tjStandard) { |
| | |
| | | /** |
| | | * 获取standard详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:query')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return success(tjStandardService.selectTjStandardById(id)); |
| | |
| | | /** |
| | | * 新增standard |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:add')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:add')") |
| | | @Log(title = "standard", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增") |
| | |
| | | /** |
| | | * 修改standard |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:edit')") |
| | | @Log(title = "standard", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改") |
| | |
| | | /** |
| | | * 删除standard |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('standard:standard:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('standard:standard:remove')") |
| | | @Log(title = "standard", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除") |