| | |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.dto.*; |
| | | import com.doumee.dao.business.model.UnionApply; |
| | | import com.doumee.service.business.InsuranceApplyService; |
| | | import com.doumee.service.business.UnionApplyService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | |
| | | @Autowired |
| | | private UnionApplyService unionApplyService; |
| | | @Autowired |
| | | private InsuranceApplyService insuranceApplyService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("新建") |
| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("合并单复审") |
| | | @PostMapping("/reexamineCheck") |
| | | @RequiresPermissions("business:unionapply:cancel") |
| | | public ApiResponse reexamineCheck(@RequestBody UnionApply unionApply) { |
| | | unionApplyService.reexamineCheck(unionApply); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("上传投保单") |
| | | @PostMapping("/uploadToubaodan") |
| | |
| | | @RequiresPermissions("business:unionapply:uploadBXD") |
| | | public ApiResponse uploadBXD(@RequestBody UnionApplyBXDDTO unionApplyBXDDTO) { |
| | | unionApplyService.uploadBXD(unionApplyBXDDTO); |
| | | insuranceApplyService.updateApplyCurrentFee(null,unionApplyBXDDTO.getId()); |
| | | unionApplyService.updateUnionApplyCurrentFee(unionApplyBXDDTO.getId()); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |