| | |
| | | import com.doumee.dao.business.model.InsuranceApply; |
| | | import com.doumee.dao.business.vo.ApplyPowerVO; |
| | | import com.doumee.dao.business.vo.CountCyclePriceVO; |
| | | import com.doumee.dao.business.vo.dataBoard.DataListVO; |
| | | import com.doumee.service.business.InsuranceApplyOnService; |
| | | import com.doumee.service.business.InsuranceApplyService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | |
| | | @Autowired |
| | | private InsuranceApplyService insuranceApplyService; |
| | | |
| | | @Autowired |
| | | private InsuranceApplyOnService insuranceApplyOnService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("新建") |
| | |
| | | public ApiResponse<ApplyPowerVO> getApplyPower(@RequestBody ApplyPowerDTO applyPowerDTO) { |
| | | return ApiResponse.success(insuranceApplyService.getApplyPower(applyPowerDTO)); |
| | | } |
| | | |
| | | @ApiOperation("每月加减保人数") |
| | | @GetMapping("/getAddReduceData") |
| | | public ApiResponse<List<DataListVO>> getAddReduceData() { |
| | | LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | return ApiResponse.success(insuranceApplyOnService.getAddReduceData(loginUserInfo)); |
| | | } |
| | | |
| | | @ApiOperation("已投保单各状态占比") |
| | | @GetMapping("/getInsuranceApplyStatusData") |
| | | public ApiResponse<List<DataListVO>> getInsuranceApplyStatusData() { |
| | | LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | return ApiResponse.success(insuranceApplyOnService.getInsuranceApplyStatusData(loginUserInfo)); |
| | | } |
| | | |
| | | @ApiOperation("在保员工") |
| | | @GetMapping("/getInsuranceMemberData") |
| | | public ApiResponse<List<DataListVO>> getInsuranceMemberData() { |
| | | LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | return ApiResponse.success(insuranceApplyOnService.getInsuranceMemberData(loginUserInfo)); |
| | | } |
| | | |
| | | } |