| | |
| | | public ApiResponse dealBackApply(@RequestBody InsuranceApply insuranceApply) { |
| | | return ApiResponse.success(insuranceApplyService.dealBackApply(insuranceApply)); |
| | | } |
| | | @ApiOperation("平台修改保险单") |
| | | @PostMapping("/editBaoxiandan") |
| | | @RequiresPermissions("business:insuranceapply:editBaoxiandan") |
| | | public ApiResponse editBaoxiandan(@RequestBody InsuranceApply insuranceApply) { |
| | | return ApiResponse.success(insuranceApplyService.editBaoxiandan(insuranceApply)); |
| | | } |
| | | |
| | | @ApiOperation("根据ID删除") |
| | | @GetMapping("/delete/{id}") |
| | |
| | | @ApiOperation("根据ID查询") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:insuranceapply:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(insuranceApplyService.findById(id)); |
| | | public ApiResponse<InsuranceApply> findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(insuranceApplyService.findDetail(id)); |
| | | } |
| | | } |