liusheng
2024-07-26 0ff7a8f69570b3fc7418c35f3d6e273ef4f73f20
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SchemeLocallibraryController.java
@@ -38,8 +38,8 @@
     * 查询服务方案库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:list')")
    @GetMapping("/list")
    public TableDataInfo list(SchemeLocallibrary schemeLocallibrary)
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody SchemeLocallibrary schemeLocallibrary)
    {
        startPage();
        List<SchemeLocallibrary> list = schemeLocallibraryService.selectSchemeLocallibraryList(schemeLocallibrary);
@@ -74,7 +74,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:add')")
    @Log(title = "服务方案库", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody SchemeLocallibrary schemeLocallibrary)
    {
        return toAjax(schemeLocallibraryService.insertSchemeLocallibrary(schemeLocallibrary));
@@ -85,7 +85,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:edit')")
    @Log(title = "服务方案库", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody SchemeLocallibrary schemeLocallibrary)
    {
        return toAjax(schemeLocallibraryService.updateSchemeLocallibrary(schemeLocallibrary));
@@ -96,7 +96,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemelibrary:remove')")
    @Log(title = "服务方案库", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
   @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(schemeLocallibraryService.deleteSchemeLocallibraryByIds(ids));