package com.doumee.api.business; import com.doumee.api.BaseController; import com.doumee.core.model.ApiResponse; import com.doumee.dao.business.vo.BikeUsageStatVO; import com.doumee.dao.business.vo.DashboardVO; import com.doumee.dao.business.vo.IncomeStatVO; import com.doumee.dao.business.vo.PackageSourceStatVO; import com.doumee.service.business.ReportService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 数据报表(管理端新增:近30天收益 / 车辆使用情况 / 套餐来源 / 综合看板)。 *
不做菜单/按钮级权限限制:无 @RequiresPermissions,仅受 Shiro authc 登录校验保护,登录后台即可访问。 *
Service 复用 services 模块 {@link ReportService}(与 web 端 /web/report 同源)。
*
* @author rk
* @date 2026/06/26
*/
@Api(tags = "数据报表(管理端)")
@RestController
@RequestMapping("/business/report")
public class ReportController extends BaseController {
@Autowired
private ReportService reportService;
@ApiOperation("近30天收益统计(按日柱状图+累计+环比/同比)")
@GetMapping("/incomeStat30")
public ApiResponse