liusheng
2024-05-12 f243bb8af00a2464d16536d42150a4107f87b4ae
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SchemeAutofinshruleController.java
@@ -38,8 +38,8 @@
     * 查询方案结案规则列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')")
    @GetMapping("/list")
    public TableDataInfo list(SchemeAutofinshrule schemeAutofinshrule) {
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody SchemeAutofinshrule schemeAutofinshrule) {
        startPage();
        List<SchemeAutofinshrule> list = schemeAutofinshruleService.selectSchemeAutofinshruleList(schemeAutofinshrule);
        return getDataTable(list);
@@ -71,7 +71,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:add')")
    @Log(title = "方案结案规则", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    public AjaxResult add(@RequestBody SchemeAutofinshrule schemeAutofinshrule) {
        return toAjax(schemeAutofinshruleService.insertSchemeAutofinshrule(schemeAutofinshrule));
    }
@@ -81,7 +81,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:edit')")
    @Log(title = "方案结案规则", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody SchemeAutofinshrule schemeAutofinshrule) {
        return toAjax(schemeAutofinshruleService.updateSchemeAutofinshrule(schemeAutofinshrule));
    }
@@ -91,7 +91,7 @@
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:remove')")
    @Log(title = "方案结案规则", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {
        return toAjax(schemeAutofinshruleService.deleteSchemeAutofinshruleByIds(ids));
    }