package com.ruoyi.web.controller.api; import com.ruoyi.common.basic.PageInfo; import com.ruoyi.common.core.domain.R; import com.ruoyi.framework.web.service.TokenService; import com.ruoyi.system.query.YcFinancialManagementQuery; import com.ruoyi.system.service.YcFinancialManagementService; import com.ruoyi.system.service.YcRevenueExpenditureTypeService; import com.ruoyi.system.vo.YcFinancialManagementVO; 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; /** *
* 财务管理 前端控制器 *
* * @author xiaochen * @since 2025-07-15 */ @Api(tags = "财务数据汇总") @RestController @RequestMapping("/dataStatistics") public class DataStatisticsController { private final YcRevenueExpenditureTypeService ycRevenueExpenditureTypeService; private final YcFinancialManagementService ycFinancialManagementService; private final TokenService tokenService; @Autowired public DataStatisticsController(YcRevenueExpenditureTypeService ycRevenueExpenditureTypeService, YcFinancialManagementService ycFinancialManagementService, TokenService tokenService) { this.ycRevenueExpenditureTypeService = ycRevenueExpenditureTypeService; this.ycFinancialManagementService = ycFinancialManagementService; this.tokenService = tokenService; } /** * 查询财务管理列表 */ @ApiOperation( value = "查询财务管理分页列表") @PostMapping(value = "/pageList") public R