liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SchemeAutofinshruleController.java
@@ -37,9 +37,9 @@
    /**
     * 查询方案结案规则列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')")
    @GetMapping("/list")
    public TableDataInfo list(SchemeAutofinshrule schemeAutofinshrule) {
    //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')")
   @PostMapping("/list")
    public TableDataInfo list(@RequestBody SchemeAutofinshrule schemeAutofinshrule) {
        startPage();
        List<SchemeAutofinshrule> list = schemeAutofinshruleService.selectSchemeAutofinshruleList(schemeAutofinshrule);
        return getDataTable(list);
@@ -48,7 +48,7 @@
    /**
     * 导出方案结案规则列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:export')")
    //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:export')")
    @Log(title = "方案结案规则", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SchemeAutofinshrule schemeAutofinshrule) {
@@ -60,7 +60,7 @@
    /**
     * 获取方案结案规则详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:query')")
    //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(schemeAutofinshruleService.selectSchemeAutofinshruleById(id));
@@ -69,9 +69,9 @@
    /**
     * 新增方案结案规则
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:add')")
    //@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));
    }
@@ -79,9 +79,9 @@
    /**
     * 修改方案结案规则
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:edit')")
    //@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));
    }
@@ -89,9 +89,9 @@
    /**
     * 删除方案结案规则
     */
    @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:remove')")
    //@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));
    }