| | |
| | | |
| | | /** |
| | | * 宣教库Controller |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | |
| | | /** |
| | | * 查询宣教库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody HeLocallibrary heLocallibrary) |
| | | { |
| | |
| | | /** |
| | | * 导出宣教库列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:export')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:export')") |
| | | @Log(title = "宣教库", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeLocallibrary heLocallibrary) |
| | |
| | | /** |
| | | * 获取宣教库详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:query')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增宣教库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:add')") |
| | | @Log(title = "宣教库", businessType = BusinessType.INSERT) |
| | | @PostMapping("add") |
| | | public AjaxResult add(@RequestBody HeLocallibrary heLocallibrary) |
| | |
| | | /** |
| | | * 修改宣教库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')") |
| | | @Log(title = "宣教库", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody HeLocallibrary heLocallibrary) |
| | |
| | | /** |
| | | * 删除宣教库 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')") |
| | | @Log(title = "宣教库", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |