|  |  |  | 
|---|
|  |  |  | import com.doumee.dao.business.model.InsuranceApply; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.ApplyPowerVO; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.CountCyclePriceVO; | 
|---|
|  |  |  | import com.doumee.service.business.InsuranceApplyOnService; | 
|---|
|  |  |  | import com.doumee.service.business.InsuranceApplyService; | 
|---|
|  |  |  | import com.doumee.service.business.impl.UnionApplyServiceImpl; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private InsuranceApplyService insuranceApplyService; | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private InsuranceApplyOnService insuranceApplyOnService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private UnionApplyServiceImpl unionApplyServiceImpl; | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping("/back") | 
|---|
|  |  |  | @RequiresPermissions("business:insuranceapply:back") | 
|---|
|  |  |  | public ApiResponse back(@RequestBody InsuranceApply insuranceApply) { | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyService.back(insuranceApply)); | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyOnService.back(insuranceApply)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("平台上传投保单") | 
|---|
|  |  |  | @PostMapping("/uploadToubaodan") | 
|---|
|  |  |  | @RequiresPermissions("business:insuranceapply:uploadToubaodan") | 
|---|
|  |  |  | public ApiResponse uploadToubaodan(@RequestBody InsuranceApply insuranceApply) { | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyService.uploadToubaodan(insuranceApply)); | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyOnService.uploadToubaodan(insuranceApply)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("根据ID查询") | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping("/uploadBaoxiandan") | 
|---|
|  |  |  | @RequiresPermissions("business:insuranceapply:uploadBaoxiandan") | 
|---|
|  |  |  | public ApiResponse uploadBaoxiandan(@RequestBody InsuranceApply insuranceApply) { | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyService.uploadBaoxiandan(insuranceApply)); | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyOnService.uploadBaoxiandan(insuranceApply)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("平台处理退单申请") | 
|---|
|  |  |  | @PostMapping("/dealBackApply") | 
|---|
|  |  |  | @RequiresPermissions("business:insuranceapply:dealBackApply") | 
|---|
|  |  |  | public ApiResponse dealBackApply(@RequestBody InsuranceApply insuranceApply) { | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyService.dealBackApply(insuranceApply)); | 
|---|
|  |  |  | return ApiResponse.success(insuranceApplyOnService.dealBackApply(insuranceApply)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("平台修改保险单") | 
|---|
|  |  |  | @PostMapping("/editBaoxiandan") | 
|---|