|  |  | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.utils.Constants; | 
 |  |  | import com.doumee.dao.business.dto.ApplyChangeCyclePriceDTO; | 
 |  |  | import com.doumee.dao.business.dto.ApplyChangeOptDTO; | 
 |  |  | import com.doumee.dao.business.dto.CountCyclePriceDTO; | 
 |  |  | import com.doumee.dao.business.dto.InsuranceApplyOptDTO; | 
 |  |  | import com.doumee.dao.business.dto.*; | 
 |  |  | import com.doumee.dao.business.model.ApplyChange; | 
 |  |  | import com.doumee.dao.business.vo.CountCyclePriceVO; | 
 |  |  | import com.doumee.service.business.ApplyChangeService; | 
 |  |  | 
 |  |  |     @PostMapping("/exportExcel") | 
 |  |  |     @RequiresPermissions("business:applychange:exportExcel") | 
 |  |  |     public void exportExcel (@RequestBody PageWrap<ApplyChange> pageWrap, HttpServletResponse response) { | 
 |  |  |         ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPage(pageWrap).getRecords(), "加减保换厂申请信息表", response); | 
 |  |  |         ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPageForCompany(pageWrap).getRecords(), "加减保换厂申请信息表", response); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("导出加减保详情单") | 
 |  |  |     @PostMapping("/exportJiajianBaoExcel") | 
 |  |  | 
 |  |  |     public void exportChangeUnitExcel (@RequestBody ApplyChange model, HttpServletResponse response) { | 
 |  |  |         ExcelExporter.build(ApplyChange.class).exportChangeUnitExcel(applyChangeService.exportChangeUnitExcel(model),   response); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("获取加减保签章地址") | 
 |  |  |     @PostMapping("/getJiajianBaoSignLink") | 
 |  |  |     @RequiresPermissions("business:applychange:sign") | 
 |  |  |     public ApiResponse<String> getSignLinkJiajiabao (@RequestBody ApplyChange model, HttpServletResponse response) { | 
 |  |  |         return ApiResponse.success( applyChangeService.getSignLinkJiajiabao(model)); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("获取缓存申请签章地址") | 
 |  |  |  | 
 |  |  |     @ApiOperation("获取换厂申请签章地址") | 
 |  |  |     @PostMapping("/getChangeUnitSignLink") | 
 |  |  |     @RequiresPermissions("business:applychange:sign") | 
 |  |  |     public ApiResponse<String> getChangeUnitSignLink (@RequestBody ApplyChange model, HttpServletResponse response) { | 
 |  |  | 
 |  |  |     @ApiOperation("根据ID查询") | 
 |  |  |     @GetMapping("/{id}") | 
 |  |  |     @RequiresPermissions("business:applychange:query") | 
 |  |  |     public ApiResponse findById(@PathVariable Integer id) { | 
 |  |  |     public ApiResponse<ApplyChange> findById(@PathVariable Integer id) { | 
 |  |  |         return ApiResponse.success(applyChangeService.findDetail(id)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         return ApiResponse.success("操作成功",applyChangeService.getChangeCountCyclePriceVO(applyChangeCyclePriceDTO)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("投保确认书签章业务") | 
 |  |  |     @PostMapping("/getChangeMemberListOnlineSignLink") | 
 |  |  |     @RequiresPermissions("business:applychange:query") | 
 |  |  |     public ApiResponse<String> getChangeMemberListOnlineSignLink(@RequestBody SmsCheckDTO smsCheckDTO) { | 
 |  |  |         return ApiResponse.success(applyChangeService.getChangeMemberListOnlineSignLink(smsCheckDTO)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |