|  |  |  | 
|---|
|  |  |  | import com.doumee.dao.business.dto.SaveUnionChangeDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.dto.SmsCheckDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.dto.UnionChangeBXDDTO; | 
|---|
|  |  |  | import com.doumee.dao.business.model.UnionApply; | 
|---|
|  |  |  | import com.doumee.dao.business.model.UnionChange; | 
|---|
|  |  |  | import com.doumee.service.business.UnionChangeService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping("/getSignLink") | 
|---|
|  |  |  | @RequiresPermissions("business:unionchange:sign") | 
|---|
|  |  |  | public ApiResponse getSignLink(@RequestBody SmsCheckDTO smsCheckDTO) { | 
|---|
|  |  |  | unionChangeService.getSignLink(smsCheckDTO); | 
|---|
|  |  |  | return ApiResponse.success(null); | 
|---|
|  |  |  | return ApiResponse.success(unionChangeService.getSignLink(smsCheckDTO)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("上传保险单") | 
|---|
|  |  |  | 
|---|
|  |  |  | unionChangeService.uploadBXD(unionChangeBXDDTO); | 
|---|
|  |  |  | return ApiResponse.success(null); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出投保详情单") | 
|---|
|  |  |  | @PostMapping("/exportDetailExcel") | 
|---|
|  |  |  | @RequiresPermissions("business:unionchange:exportExcel") | 
|---|
|  |  |  | public void exportDetailExcel (@RequestBody UnionChange model, HttpServletResponse response) { | 
|---|
|  |  |  | ExcelExporter.build(UnionChange.class).exportUnionChangeDetail(unionChangeService.unionChangeDetail(model.getId()),  response); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|