| | |
| | | import com.doumee.dao.business.dto.SmsCheckDTO; |
| | | import com.doumee.dao.business.dto.UnionChangeBXDDTO; |
| | | import com.doumee.dao.business.model.UnionChange; |
| | | import com.doumee.service.business.InsuranceApplyService; |
| | | import com.doumee.service.business.UnionChangeService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | |
| | | @Autowired |
| | | private UnionChangeService unionChangeService; |
| | | @Autowired |
| | | private InsuranceApplyService insuranceApplyService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("新建") |
| | |
| | | return ApiResponse.success(unionChangeService.getSignLink(smsCheckDTO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("上传保险单") |
| | | @PostMapping("/uploadBXD") |
| | | @RequiresPermissions("business:unionchange:uploadBXD") |
| | | public ApiResponse uploadBXD(@RequestBody UnionChangeBXDDTO unionChangeBXDDTO) { |
| | | unionChangeService.uploadBXD(unionChangeBXDDTO); |
| | | insuranceApplyService.updateApplyCurrentFee(null,unionChangeBXDDTO.getApplyId()); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |