| | |
| | | |
| | | /** |
| | | * @author 江蹄蹄 |
| | | * @date 2024/01/15 15:07 |
| | | * @date 2024/01/16 10:03 |
| | | */ |
| | | @Api(tags = "保险方案信息表") |
| | | @RestController |
| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("分页查询") |
| | | @ApiOperation("【平台端】分页查询") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:solutions:query") |
| | | public ApiResponse<PageData<Solutions>> findPage (@RequestBody PageWrap<Solutions> pageWrap) { |
| | | return ApiResponse.success(solutionsService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("列表查询") |
| | | @PostMapping("/list") |
| | | @RequiresPermissions("business:solutions:query") |
| | | public ApiResponse<List<Solutions>> findList (@RequestBody Solutions solutions) { |
| | | return ApiResponse.success(solutionsService.findList(solutions)); |
| | | } |
| | | |
| | | // @ApiOperation("列表查询") |
| | | // @PostMapping("/page") |
| | | // public ApiResponse<List<Solutions>> findPage (@RequestBody Solutions solutions) { |
| | | // return ApiResponse.success(solutionsService.findList(solutions)); |
| | | // } |
| | | |
| | | @ApiOperation("导出Excel") |
| | | @PostMapping("/exportExcel") |
| | |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(solutionsService.findById(id)); |
| | | } |
| | | |
| | | } |