|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author 江蹄蹄 | 
|---|
|  |  |  | * @date 2024/01/15 11:15 | 
|---|
|  |  |  | * @date 2024/01/16 10:03 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Api(tags = "保险方案信息表(历史版本)") | 
|---|
|  |  |  | @Api(tags = "保险方案信息表") | 
|---|
|  |  |  | @RestController | 
|---|
|  |  |  | @RequestMapping("/business/solutions") | 
|---|
|  |  |  | public class SolutionsController extends BaseController { | 
|---|
|  |  |  | 
|---|
|  |  |  | 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 pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(solutionsService.findList(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("列表查询") | 
|---|
|  |  |  | @PostMapping("/page") | 
|---|
|  |  |  | public ApiResponse<List<Solutions>> findPage (@RequestBody Solutions solutions) { | 
|---|
|  |  |  | return ApiResponse.success(solutionsService.findList(solutions)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出Excel") | 
|---|
|  |  |  | @PostMapping("/exportExcel") | 
|---|
|  |  |  | @RequiresPermissions("business:solutions:exportExcel") | 
|---|
|  |  |  | public void exportExcel (@RequestBody PageWrap<Solutions> pageWrap, HttpServletResponse response) { | 
|---|
|  |  |  | ExcelExporter.build(Solutions.class).export(solutionsService.findPage(pageWrap).getRecords(), "保险方案信息表(历史版本)", response); | 
|---|
|  |  |  | ExcelExporter.build(Solutions.class).export(solutionsService.findPage(pageWrap).getRecords(), "保险方案信息表", response); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("根据ID查询") | 
|---|