| | |
| | | public ApiResponse uploadToubaodan(@RequestBody InsuranceApply insuranceApply) { |
| | | return ApiResponse.success(insuranceApplyService.uploadToubaodan(insuranceApply)); |
| | | } |
| | | |
| | | @ApiOperation("根据ID查询") |
| | | @GetMapping("/getSignLink/{id}") |
| | | @RequiresPermissions("business:insuranceapply:query") |
| | | public ApiResponse<String> getSignLink(@PathVariable Integer id) { |
| | | return ApiResponse.success(insuranceApplyService.getSignLink(id)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("平台上传保险单") |
| | | @PostMapping("/uploadBaoxiandan") |
| | | @RequiresPermissions("business:insuranceapply:uploadBaoxiandan") |
| | |
| | | @RequiresPermissions("business:insuranceapply:dealBackApply") |
| | | 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删除") |
| | |
| | | @ApiOperation("导出投保详情单") |
| | | @PostMapping("/exportDetailExcel") |
| | | @RequiresPermissions("business:insuranceapply:exportExcel") |
| | | public void exportExcel (@RequestBody InsuranceApply model, HttpServletResponse response) { |
| | | public void exportDetailExcel (@RequestBody InsuranceApply model, HttpServletResponse response) { |
| | | ExcelExporter.build(InsuranceApply.class).exportApplyDetail(insuranceApplyService.findDetailForExport(model), response); |
| | | } |
| | | |