liusheng
2024-07-03 3fc51e7cbdabb7dcd1615c6efac52323f6ca8adb
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java
@@ -38,8 +38,8 @@
     * 查询宣教库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:helibrary:list')")
    @GetMapping("/list")
    public TableDataInfo list(HeLocallibrary heLocallibrary)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody HeLocallibrary heLocallibrary)
    {
        startPage();
        List<HeLocallibrary> list = heLocallibraryService.selectHeLocallibraryList(heLocallibrary);
@@ -74,7 +74,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:helibrary:add')")
    @Log(title = "宣教库", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("add")
    public AjaxResult add(@RequestBody HeLocallibrary heLocallibrary)
    {
        return toAjax(heLocallibraryService.insertHeLocallibrary(heLocallibrary));
@@ -85,7 +85,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')")
    @Log(title = "宣教库", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody HeLocallibrary heLocallibrary)
    {
        return toAjax(heLocallibraryService.updateHeLocallibrary(heLocallibrary));
@@ -96,7 +96,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')")
    @Log(title = "宣教库", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
   @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(heLocallibraryService.deleteHeLocallibraryByIds(ids));