| | |
| | | * 查询方案结案规则列表 |
| | | */ |
| | | @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); |
| | |
| | | */ |
| | | @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)); |
| | | } |
| | |
| | | */ |
| | | @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)); |
| | | } |
| | |
| | | */ |
| | | @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)); |
| | | } |