| | |
| | | /** |
| | | * 查询方案结案规则列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出方案结案规则列表 |
| | | */ |
| | | @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) { |
| | |
| | | /** |
| | | * 获取方案结案规则详细信息 |
| | | */ |
| | | @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)); |
| | |
| | | /** |
| | | * 新增方案结案规则 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:add')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:add')") |
| | | @Log(title = "方案结案规则", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | |
| | | /** |
| | | * 修改方案结案规则 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:edit')") |
| | | @Log(title = "方案结案规则", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SchemeAutofinshrule schemeAutofinshrule) { |
| | |
| | | /** |
| | | * 删除方案结案规则 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:schemeautofinshrule:remove')") |
| | | @Log(title = "方案结案规则", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |