| | |
| | | /** |
| | | * 查询管理计划列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemePlan schemePlan) |
| | | { |
| | |
| | | /** |
| | | * 导出管理计划列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:export')") |
| | | @Log(title = "管理计划", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SchemePlan schemePlan) |
| | |
| | | /** |
| | | * 获取管理计划详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增管理计划 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:add')") |
| | | @Log(title = "管理计划", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemePlan schemePlan) |
| | |
| | | /** |
| | | * 修改管理计划 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:edit')") |
| | | @Log(title = "管理计划", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemePlan schemePlan) |
| | |
| | | /** |
| | | * 删除管理计划 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeplan:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeplan:remove')") |
| | | @Log(title = "管理计划", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |