| | |
| | | */ |
| | | @ApiOperation("新增住宿费限额标准") |
| | | @Log(title = "住宿费限额标准", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceTravelexpensestandard serviceTravelexpensestandard) |
| | | { |
| | | return toAjax(serviceTravelexpensestandardService.save(serviceTravelexpensestandard)); |
| | | boolean save = serviceTravelexpensestandardService.save(serviceTravelexpensestandard); |
| | | return AjaxResult.success(serviceTravelexpensestandard); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiOperation("修改住宿费限额标准") |
| | | @Log(title = "住宿费限额标准", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceTravelexpensestandard serviceTravelexpensestandard) |
| | | { |
| | |
| | | */ |
| | | @ApiOperation("删除住宿费限额标准") |
| | | @Log(title = "住宿费限额标准", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceTravelexpensestandardService.removeByIds(Arrays.asList(ids))); |