| | |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.dao.business.dto.CarUseDataDTO; |
| | | import com.doumee.dao.business.dto.InParkDataDTO; |
| | | import com.doumee.dao.business.vo.GeneralDataVO; |
| | | import com.doumee.dao.business.vo.InParkUserDataVO; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.LoginUserInfo; |
| | | import com.doumee.service.business.third.model.PageData; |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("基础数据") |
| | | @PostMapping("/getCarUseData") |
| | | public ApiResponse<InParkUserDataVO> getCarUseData (@RequestBody CarUseDataDTO carUseDataDTO) { |
| | | return ApiResponse.success(carUseBookService.getCarUseData(carUseDataDTO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("报表数据") |
| | | @PostMapping("/getReportList") |
| | | public ApiResponse<List<List<String>>> getReportList (@RequestBody CarUseDataDTO carUseDataDTO) { |
| | | return ApiResponse.success(carUseBookService.getReportList(carUseDataDTO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("派车申请数据分析-导出Excel") |
| | | @PostMapping("/reportExportExcel") |
| | | public void reportExportExcel (@RequestBody CarUseDataDTO carUseDataDTO, HttpServletResponse response) { |
| | | carUseBookService.excel(carUseDataDTO,response); |
| | | } |
| | | |
| | | |
| | | } |