| | |
| | | import com.doumee.dao.business.dto.*; |
| | | import com.doumee.dao.business.vo.CompensationVO; |
| | | import com.doumee.dao.business.vo.RiskConfigVO; |
| | | import com.doumee.dao.business.vo.dataBoard.InsuranceDataVO; |
| | | import com.doumee.dao.business.vo.dataBoard.SettleClaimsDataVO; |
| | | import com.doumee.service.business.InsuranceApplyService; |
| | | import com.doumee.service.business.SettleClaimsService; |
| | | import com.doumee.service.system.SystemDictDataService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | @Autowired |
| | | private SettleClaimsService settleClaimsService; |
| | | |
| | | |
| | | @ApiOperation("获取风险配置") |
| | | @GetMapping("/getRiskConfig") |
| | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("理赔费用项信息") |
| | | @GetMapping("/getCompensation") |
| | | public ApiResponse<List<CompensationVO>> getCompensation(@RequestParam Integer id) { |
| | | return ApiResponse.success(settleClaimsService.getCompensation(id)); |
| | | @PostMapping("/getCompensation") |
| | | public ApiResponse<List<CompensationVO>> getCompensation(@RequestBody CompensationFeeDTO dto) { |
| | | return ApiResponse.success(settleClaimsService.getCompensation(dto)); |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("理赔") |
| | | @ApiOperation("理算") |
| | | @PostMapping("/compensation") |
| | | public ApiResponse compensation(@RequestBody CompensationDTO dto) { |
| | | settleClaimsService.compensation(dto); |
| | |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("修改案件类型") |
| | | @PostMapping("/updCaseType") |
| | | public ApiResponse updCaseType(@RequestBody CaseTypeDTO dto) { |
| | | settleClaimsService.updCaseType(dto); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("确认打款") |
| | | @PostMapping("/payCash") |
| | | public ApiResponse payCash(@RequestBody PayCashDTO dto) { |
| | | settleClaimsService.payCash(dto); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("修改伤残类型") |
| | | @PostMapping("/updHurtType") |
| | | public ApiResponse updHurtType(@RequestBody UpdHurtTypeDTO dto) { |
| | | settleClaimsService.updHurtType(dto); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("获取商议问题类型内容") |
| | | @GetMapping("/getDiscussProblemType") |
| | | public ApiResponse<List<String>> getDiscussProblemType() { |
| | | return ApiResponse.success(settleClaimsService.getDiscussProblemType()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("理赔报案数据报表") |
| | | @GetMapping("/getSettleClaimsDataVO") |
| | | public ApiResponse<SettleClaimsDataVO> getSettleClaimsDataVO() { |
| | | return ApiResponse.success(settleClaimsService.getSettleClaimsDataVO()); |
| | | } |
| | | |
| | | @ApiOperation("保单数据报表") |
| | | @GetMapping("/getInsuranceDataVO") |
| | | public ApiResponse<InsuranceDataVO> getInsuranceDataVO() { |
| | | return ApiResponse.success(settleClaimsService.getInsuranceDataVO()); |
| | | } |
| | | |
| | | |
| | | } |