package com.hotent.project.controller; import com.hotent.base.annotation.ApiGroup; import com.hotent.base.constants.ApiGroupConsts; import com.hotent.base.model.CommonResult; import com.hotent.base.query.PageList; import com.hotent.project.manager.ComprehensiveStatisticsManager; import com.hotent.project.model.CostAnnualPlan; import com.hotent.project.req.ComprehensiveStatisticsReq; import com.hotent.project.req.CostAnnualPlanPageReq; import com.hotent.project.vo.ComprehensiveStatisticsVo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** *@author: zhao yue yue *@create: 2025-12-08 14:06 */ @RestController @RequestMapping("/api/comprehensive/statistics/") @Api(tags = "行业分析/历史分析") @ApiGroup(group = {ApiGroupConsts.GROUP_COST}) public class ComprehensiveStatisticsController { @Autowired private ComprehensiveStatisticsManager comprehensiveStatisticsManager; @PostMapping(value="/analyze") @ApiOperation(value="行业分析/历史分析analyze",httpMethod = "POST",notes = "行业分析/历史分析analyze") public CommonResult pageList(@RequestBody ComprehensiveStatisticsReq req) throws Exception { return comprehensiveStatisticsManager.analyze(req); } }